# Nuxt module `@tresjs/nuxt`

Dies ist das offizielle Nuxt-Modul für TresJS! 🎉.
Das Repository findest du [hier](https://github.com/Tresjs/nuxt).
## Instalación
::: code-group
```bash [pnpm]
pnpm add three @tresjs/nuxt
```
```bash [npm]
npm install three @tresjs/nuxt
```
```bash [yarn]
yarn add three @tresjs/nuxt
```
:::
## Features
- 🤓 Automatischer Import von Komponenten und Composables aus dem [TresJS-Ökosystem](https://github.com/orgs/Tresjs/repositories)
- `TresCanvas` ist nur auf dem Client verfügbar, daher ist es nicht notwendig, `.client` zum Namen der Komponente hinzuzufügen oder `` zu verwenden
- Konfiguriert automatisch den Vue-Compiler, um TresJS-Komponenten zu unterstützen, siehe [warum](/de/guide/troubleshooting.html#fehler-beim-auflosen-des-komponenten-trescomponent)?
- All die DX-Magie, die mit Nuxt kommt ✨
## Verwendung
Füge `@tresjs/nuxt` zum Abschnitt `modules` in `nuxt.config.ts` hinzu.
```js
export default defineNuxtConfig({
modules: ['@tresjs/nuxt'],
})
```
Das ist alles! Jetzt kannst du `@tresjs/nuxt` in deiner Nuxt-Anwendung verwenden ✨.
Wenn du irgendwelche Pakete aus dem TresJS-Ökosystem verwenden möchtest, kannst du die gewünschten Pakete installieren und sie werden automatisch vom Modul importiert 🧙.
| Package | Version |
| --------------------------- | :------------------------------------------------------------------------------------------------- |
| [Cientos](https://github.com/Tresjs/cientos) |  |
| [Post-processing](https://github.com/Tresjs/post-processing) |  |
```bash
# Wenn pnpm verwendet wird
pnpm add @tresjs/cientos @tresjs/post-processing
```