Skip to content

Latest commit

History

History
73 lines (48 loc) 路 1.81 KB

File metadata and controls

73 lines (48 loc) 路 1.81 KB

Mox client cache

npm version npm downloads License Nuxt

A nuxt module to manage store and create reactive objects coming from the backend

Features

  • reuse cached records and scopes
  • guaranteed reactivity across the entire app
  • works with SSR

Quick Setup

Install the module to your Nuxt application with one command:

npx nuxt module add @moxyom/nuxt-client-cache

You can now create the directory cache-collections and

That's it! You can now configure your collections

Contribution

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