feat:rename subtree from frontend-vue to frontend
This commit is contained in:
12
frontend/src/stores/index.ts
Normal file
12
frontend/src/stores/index.ts
Normal file
@@ -0,0 +1,12 @@
|
||||
import { createPinia } from 'pinia'
|
||||
import type { App } from 'vue'
|
||||
|
||||
export const store = createPinia()
|
||||
|
||||
// 全局注册 store
|
||||
export function setupStore(app: App<Element>) {
|
||||
app.use(store)
|
||||
}
|
||||
|
||||
export * from './modules/agents.ts'
|
||||
export * from './modules/config.ts'
|
||||
Reference in New Issue
Block a user