Getting Started
Installation
Get started with Nuxt Motion Block.
Prerequisites
Nuxt Motion Block requires the following peer dependencies:
These dependencies will be automatically installed when adding the module.
Installation
Install Nuxt Motion Block to your Nuxt application with one command:
npm install nuxt-motion-block
yarn add nuxt-motion-block
pnpm add nuxt-motion-block
bun add nuxt-motion-block
Or install
npx nuxi module add nuxt-motion-block
Adding the Module
Add the module to your nuxt.config.ts:
nuxt.config.ts
export default defineNuxtConfig({
modules: [
'@nuxt/ui',
'motion-v/nuxt',
'nuxt-motion-block'
]
})
That's it! Nuxt Motion Block is now ready to use in your Nuxt application ✨