Setup
This module is plug-and-play with sensible defaults. Just install the package to get started.
Installation
- Install the
nuxt-particles
package:
pnpm add -D nuxt-particles
- Add the
nuxt-particles
package to themodules
array in yournuxt.config.ts
:
export default defineNuxtConfig({
modules: [
// ...
'nuxt-particles'
],
// ...
})
Options
You may configure the nuxt-particles
module by adding a particles
property to your nuxt.config.ts
:
export default defineNuxtConfig({
// ...
particles: {
mode: 'full', // 'full' | 'slim' | 'basic' | 'custom'
lazy: true
}
})
Learn more about the available options in the Configuration section.
✨ You're all set! Start using the <NuxtParticles> component in your application.
Table of Contents