1.0.1 • Published 2 years ago

@viatu/nuxt-ssr-cache v1.0.1

Weekly downloads
-
License
MIT
Repository
gitlab
Last release
2 years ago

Nuxt SSR Cache

npm version npm downloads License Nuxt

Nuxt module to cache SSR rendered responses in memory.

Features

  •  Foo
  • 🚠  Bar
  • 🌲  Baz

Quick Setup

  1. 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
  1. Add nuxt-ssr-cache to the modules section of nuxt.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
1.0.1

2 years ago

1.0.0

2 years ago