1.0.1 • Published 2 years ago
@viatu/nuxt-ssr-cache v1.0.1
Nuxt SSR Cache
Nuxt module to cache SSR rendered responses in memory.
Features
- ⛰ Foo
- 🚠 Bar
- 🌲 Baz
Quick Setup
- Add
nuxt-ssr-cachedependency 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-cacheto themodulessection 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