Installation
Install the module and register it in your Nuxt config.
Installation
1. Install the package
npm install nuxt-skeletonizer
pnpm add nuxt-skeletonizer
yarn add nuxt-skeletonizer
2. Register the module
nuxt.config.ts
export default defineNuxtConfig({
modules: ['nuxt-skeletonizer'],
})
That's all. The module auto-imports the components, the composable and the directives, and injects the core stylesheet for you.
Requirements
- Nuxt ≥ 3.10 (built and tested against Nuxt 4)
- Vue ≥ 3.4
- Node ≥ 18
What you get
<Skeletonizer>and the nineSkeleton*primitives (auto-imported)useSkeletonizer()and theuseSkeleton*data composables- The
v-skeleton-*directives - A Nuxt DevTools tab (when DevTools is enabled)