# Nuxt module `@tresjs/nuxt`

A official Nuxt module for TresJS is here 🎉.
Repository is [here](https://github.com/Tresjs/nuxt)
## Installation
::: code-group
```bash [pnpm]
pnpm add three @tresjs/nuxt
```
```bash [npm]
npm install three @tresjs/nuxt
```
```bash [yarn]
yarn add three @tresjs/nuxt
```
:::
## Features
- 🤓 Auto-import components and composables from the [TresJS ecosystem](https://github.com/orgs/Tresjs/repositories)
- `TresCanvas` client only, you don't need to add `.client` to the component name or ``
- Automatically configures vue compiler to support TresJS components, see [why](/guide/troubleshooting)
- All the DX Magic that comes with Nuxt ✨
## Usage
Add `@tresjs/nuxt` to the `modules` section of `nuxt.config.ts`
```js [nuxt.config.ts]
export default defineNuxtConfig({
modules: ['@tresjs/nuxt'],
})
```
That's it! You can now use `@tresjs/nuxt` in your Nuxt app ✨
If you want to use the any package from the TresJS ecosystem, you can install the packages you want to use and they will be auto-imported by the module 🧙🏼♂️.
| Package | Version |
| --------------------------- | :------------------------------------------------------------------------------------------------- |
| [Cientos](https://github.com/Tresjs/cientos) |  |
| [Post-processing](https://github.com/Tresjs/post-processing) |  |
```bash
# Using pnpm
pnpm add @tresjs/cientos @tresjs/post-processing
```