Nuxt Module
Development
- Run
npm run dev:prepare
to generate type stubs. - Use
npm run dev
to start playground in development mode.
TypeScript #
If you are using TypeScript or have a jsconfig.json, you should also add the types for context.pinia:
{
"types": [
// ...
"@pinia/nuxt"
]
}
This will also ensure you have autocompletion
Create your tailwind.config.js by running: npx tailwindcss init
// Default theme import '@splidejs/vue-splide/css';
// or other themes import '@splidejs/vue-splide/css/skyblue'; import '@splidejs/vue-splide/css/sea-green';
// or only core styles import '@splidejs/vue-splide/css/core';