This module provides a set of SSR safe composables and components to make it easier to use AnimeJS in your Nuxt application.
- Help to integrate animejs into your project without the need for much boilerplate codes
- SSR Safe components like
useAnimate,useWaapiAnimate, ..etc - Provides a set of transition components created with the
waapiutility - Doesn't include predefined animation settings other than
animejsdefaults - Zero-config setup needed
Install the module to your Nuxt application with one command:
npx nuxt module add nanimenpm install nanimeThen add the module to the modules section of your nuxt.config.ts:
export default defineNuxtConfig({
modules: ['nanime'],
nanime: { ... },
})That's it! You can now use the module in your application
Local development
# Install dependencies
npm install
# Generate type stubs
npm run dev:prepare
# Develop with the playground
npm run dev
# Build the playground
npm run dev:build
# Run ESLint
npm run lint
# Run Vitest
npm run test
npm run test:watch
# Release new version
npm run release