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.
|
|
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
-
Install with your favorite package manager:
- pnpm :
pnpm i pinia-plugin-persistedstate - npm :
npm i pinia-plugin-persistedstate - yarn :
yarn add pinia-plugin-persistedstate
- pnpm :
-
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.