A nuxt module to manage store and create reactive objects coming from the backend
- reuse cached records and scopes
- guaranteed reactivity across the entire app
- works with SSR
Install the module to your Nuxt application with one command:
npx nuxt module add @moxyom/nuxt-client-cacheYou can now create the directory cache-collections and
That's it! You can now configure your collections
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