mirror of
https://github.com/soybeanjs/soybean-admin.git
synced 2025-12-26 06:40:17 +08:00
refactor(projects): 精简版+动态路由权限初步
This commit is contained in:
@@ -1,9 +1,8 @@
|
||||
import type { App } from 'vue';
|
||||
import { createPinia } from 'pinia';
|
||||
|
||||
export const store = createPinia();
|
||||
|
||||
export function setupStore(app: App) {
|
||||
const store = createPinia();
|
||||
app.use(store);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user