公告板
版本库
filestore
活动
搜索
登录
main
/
JYBIndependentFront
江佑保前端
概况
操作记录
提交次数
目录
文档
派生
对比
blame
|
历史
|
原始文档
fix: bug
wupengfei
2025-04-01
c6347278c9d0ede1d88680f9c80f863bca53bb5f
[JYBIndependentFront.git]
/
src
/
store
/
index.ts
1
2
3
4
5
6
7
8
9
import type { App } from 'vue';
import { createPinia } from 'pinia';
const store = createPinia();
export function setupStore(app: App<Element>) {
app.use(store);
}
export { store };