pinia-plugin-persistedstate
TypeScript icon, indicating that this package has built-in type declarations

3.2.1 • Public • Published

pinia-plugin-persistedstate

Pinia plugin to persist stores

🚀 Quickstart

  1. Install with your favorite package manager:

    • pnpm : pnpm i pinia-plugin-persistedstate
    • npm : npm i pinia-plugin-persistedstate
    • yarn : yarn add pinia-plugin-persistedstate
  2. Add the plugin to pinia:

import { createPinia } from 'pinia'
import piniaPluginPersistedstate from 'pinia-plugin-persistedstate'

const pinia = createPinia()
pinia.use(piniaPluginPersistedstate)

🔧 Configuration

Usage and configuration informations can be found in the documentation

📝 License

Copyright © 2022 Sacha Bouillez.
This project is under MIT license.

Readme

Keywords

Package Sidebar

Install

npm i pinia-plugin-persistedstate

Weekly Downloads

159,772

Version

3.2.1

License

MIT

Unpacked Size

18.1 kB

Total Files

6

Last publish

Collaborators

  • prazdevs