1
0

getting-started.md 524 B

Instalación

Aprende como instalar TresJS

::: code-group

pnpm add three @tresjs/core -D
npm install three @tresjs/core -D
yarn add three @tresjs/core -D

:::

Mejor uso con Vue 3.x y composition API

Empezando

Puedes instalar TresJS como cualquier otro Vue plugin

import { createApp } from 'vue'
import App from './App.vue'

import Tres from '@tresjs/core'

export const app = createApp(App)

app.use(Tres)
app.mount('#app')

Nuxt

Pronto.