@nvs-pinia/nuxt
v1.0.1
Published
Nuxt module for NVS Pinia collection
Downloads
11
Readme
NVS Pinia Nuxt module
Nuxt Module for the NVS Pinia collection.
Features
- ⛰ Persist state for Pinia store modules
- 🚠 Re-usable API settings using Axios.
Quick Setup
- Add
@nvs-pinia/nuxt
dependency and Pinia Nuxt to your project
npm install --save-dev @nvs-pinia/nuxt @pinia/nuxt
- Add
@nvs-pinia/nuxt
to themodules
section ofnuxt.config.ts
export default defineNuxtConfig({
modules: [
'@pinia/nuxt', // Required
'@nvs-pinia/nuxt',
],
nvsPinia: {},
});
That's it! You can now use NVS Pinia Nuxt module in your Nuxt app ✨
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