@viatu/nuxt-ssr-cache
v1.0.1
Published
A caching layer for Nuxt SSR
Downloads
1
Readme
Nuxt SSR Cache
Nuxt module to cache SSR rendered responses in memory.
Features
- ⛰ Foo
- 🚠 Bar
- 🌲 Baz
Quick Setup
- Add
nuxt-ssr-cache
dependency to your project
# Using pnpm
pnpm add -D nuxt-ssr-cache
# Using yarn
yarn add --dev nuxt-ssr-cache
# Using npm
npm install --save-dev nuxt-ssr-cache
- Add
nuxt-ssr-cache
to themodules
section ofnuxt.config.ts
export default defineNuxtConfig({
modules: [
'nuxt-ssr-cache'
]
})
That's it! You can now use Nuxt SSR Cache 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