|
|
1 year ago | |
|---|---|---|
| .. | ||
| dist | 1 year ago | |
| README.md | 1 year ago | |
| package.json | 1 year ago | |
pinia-plugin-persistedstatePinia plugin to persist stores
Install with your favorite package manager:
pnpm i pinia-plugin-persistedstatenpm i pinia-plugin-persistedstateyarn add pinia-plugin-persistedstateAdd the plugin to pinia:
import { createPinia } from 'pinia'
import piniaPluginPersistedstate from 'pinia-plugin-persistedstate'
const pinia = createPinia()
pinia.use(piniaPluginPersistedstate)
Usage and configuration informations can be found in the documentation
Copyright © 2022 Sacha Bouillez.
This project is under MIT license.