You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
武俊涛 5321b9e72d 生成 10 months ago
..
dist 生成 10 months ago
README.md 生成 10 months ago
package.json 生成 10 months ago

README.md

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.