状态管理
安装
pnpm i vue-router
pnpm install @chenzoho/vue-store
注册
.
.
import { setupStore } from '@chenzoho/vue-store'
const app = createApp(App)
// Configure store
setupStore(app)
使用
// 自行定义pinia
更新
- 0.0.1
- 初始化项目
- 1.0.0
- 可用版本
pnpm i vue-router
pnpm install @chenzoho/vue-store
.
.
import { setupStore } from '@chenzoho/vue-store'
const app = createApp(App)
// Configure store
setupStore(app)
// 自行定义pinia
npm i @chenzoho/vue-router
2
1.0.0
MIT
11.7 kB
10