|
4 | 4 |
|
5 | 5 | <a href="https://www.npmjs.com/package/@tresjs/nuxt"><img src="https://img.shields.io/npm/v/@tresjs/nuxt/latest?color=%2382DBCA" alt="npm package"></a>
|
6 | 6 |
|
7 |
| -¡Aquí está el módulo oficial de Nuxt para TresJS! 🎉. |
| 7 | +Hier ist das offizielle Nuxt-Modul für TresJS! 🎉. |
8 | 8 |
|
9 |
| -El repositorio está [aquí](https://github.com/Tresjs/nuxt) |
| 9 | +Das Repository findest du [hier](https://github.com/Tresjs/nuxt). |
10 | 10 |
|
11 | 11 | ## Instalación
|
12 | 12 |
|
13 | 13 | ::: code-group
|
14 | 14 |
|
15 | 15 | ```bash [pnpm]
|
16 |
| -pnpm add three @tresjs/nuxt |
| 16 | +pnpm add three @tresjs/nuxt |
17 | 17 | ```
|
18 | 18 |
|
19 | 19 | ```bash [npm]
|
20 |
| -npm install three @tresjs/nuxt |
| 20 | +npm install three @tresjs/nuxt |
21 | 21 | ```
|
22 | 22 |
|
23 | 23 | ```bash [yarn]
|
24 |
| -yarn add three @tresjs/nuxt |
| 24 | +yarn add three @tresjs/nuxt |
25 | 25 | ```
|
26 | 26 |
|
27 | 27 | :::
|
28 | 28 |
|
29 |
| -## Características |
| 29 | +## Eigenschaften |
30 | 30 |
|
31 |
| -- 🤓 Importación automática de componentes y composables del [ecosistema de TresJS](https://github.com/orgs/Tresjs/repositories) |
32 |
| -- `TresCanvas` esta disponible solo en el cliente, no es necesario agregar `.client` al nombre del componente o `<ClientOnly />` |
33 |
| -- Configura automáticamente el compilador de Vue para admitir componentes de TresJS, consulta [por qué](/guide/troubleshooting.html#failed-resolve-component-trescomponent-%F0%9F%A4%94)? |
34 |
| -- Toda la magia de DX que viene con Nuxt ✨ |
| 31 | +- 🤓 Automatischer Import von Komponenten und Composables aus dem [TresJS-Ökosystem](https://github.com/orgs/Tresjs/repositories) |
| 32 | +- `TresCanvas` ist nur auf dem Client verfügbar, es ist nicht notwendig, `.client` zum Namen der Komponente hinzuzufügen oder `<ClientOnly />` zu verwenden |
| 33 | +- Konfiguriert automatisch den Vue-Compiler, um TresJS-Komponenten zu unterstützen, siehe [warum](/de/guide/troubleshooting.html#failed-resolve-component-trescomponent-%F0%9F%A4%94)? |
| 34 | +- All die DX-Magie, die mit Nuxt kommt ✨ |
35 | 35 |
|
36 |
| -## Uso |
| 36 | +## Verwendung |
37 | 37 |
|
38 |
| -Agrega `@tresjs/nuxt` a la sección `modules` de `nuxt.config.ts` |
| 38 | +Füge `@tresjs/nuxt` zum Abschnitt `modules` in `nuxt.config.ts` hinzu |
39 | 39 |
|
40 | 40 | ```js
|
41 | 41 | export default defineNuxtConfig({
|
42 | 42 | modules: ['@tresjs/nuxt'],
|
43 | 43 | })
|
44 | 44 | ```
|
45 | 45 |
|
46 |
| -¡Eso es todo! Ahora puedes usar `@tresjs/nuxt` en tu aplicación Nuxt ✨ |
| 46 | +Das ist alles! Jetzt kannst du `@tresjs/nuxt` in deiner Nuxt-Anwendung verwenden ✨ |
47 | 47 |
|
48 |
| -Si deseas utilizar cualquier paquete del ecosistema de TresJS, puedes instalar los paquetes que desees utilizar y serán importados automáticamente por el módulo 🧙🏼♂️. |
| 48 | +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 🧙🏼♂️. |
49 | 49 |
|
50 | 50 | | Package | Version |
|
51 | 51 | | --------------------------- | :------------------------------------------------------------------------------------------------- |
|
|
0 commit comments