refactor(projects): 代码优化

This commit is contained in:
Soybean
2022-04-13 23:45:15 +08:00
parent 46e1ae7825
commit e8b534b84e
15 changed files with 533 additions and 479 deletions

View File

@@ -1,6 +1,7 @@
import type { App } from 'vue';
import { createPinia } from 'pinia';
/** setup vue store plugin: pinia. - [安装vue状态管理插件pinia] */
export function setupStore(app: App) {
const store = createPinia();
app.use(store);