Nuxt 2 reached End-of-Life on June 30th, 2024.


Configurable persistence and rehydration of Pinia stores.


Nuxt 3 module

๐Ÿš€ Quickstart

  1. Install with your favorite package manager:
    • pnpm : pnpm i -D @pinia-plugin-persistedstate/nuxt
    • npm : npm i -D @pinia-plugin-persistedstate/nuxt
    • yarn : yarn add -D @pinia-plugin-persistedstate/nuxt
  2. Add the plugin to nuxt config:
export default defineNuxtConfig({
  modules: [
    '@pinia/nuxt', // needed

๐Ÿ”ง Configuration

Usage and configuration informations can be found in the documentation

๐Ÿ“ License

Copyright ยฉ 2022 Sacha Bouillez. This project is under MIT license.