2026-05-12
This commit is contained in:
28
training/codes/training-system-frontend/node_modules/pinia-plugin-persistedstate/README.md
generated
vendored
Normal file
28
training/codes/training-system-frontend/node_modules/pinia-plugin-persistedstate/README.md
generated
vendored
Normal file
@@ -0,0 +1,28 @@
|
||||
# `pinia-plugin-persistedstate`
|
||||
|
||||
> Pinia plugin to persist stores
|
||||
|
||||
## 🚀 Quickstart
|
||||
|
||||
1. Install with your favorite package manager:
|
||||
- **pnpm** : `pnpm add pinia-plugin-persistedstate`
|
||||
- npm : `npm i pinia-plugin-persistedstate`
|
||||
- yarn : `yarn add pinia-plugin-persistedstate`
|
||||
|
||||
2. Add the plugin to pinia:
|
||||
```ts
|
||||
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](https://prazdevs.github.io/pinia-plugin-persistedstate/guide/)
|
||||
|
||||
## 📝 License
|
||||
|
||||
Copyright © 2022 [Sacha Bouillez](https://github.com/prazdevs).
|
||||
This project is under [MIT](https://github.com/prazdevs/pinia-plugin-persistedstate/blob/main/LICENSE) license.
|
||||
Reference in New Issue
Block a user