mirror of
https://github.com/Chanzhaoyu/chatgpt-web.git
synced 2025-08-01 19:38:16 +00:00
feat: 预设 pinia 相关文件
This commit is contained in:
9
src/store/index.ts
Normal file
9
src/store/index.ts
Normal file
@@ -0,0 +1,9 @@
|
||||
import type { App } from 'vue'
|
||||
import { createPinia } from 'pinia'
|
||||
|
||||
export function setupStore(app: App) {
|
||||
const store = createPinia()
|
||||
app.use(store)
|
||||
}
|
||||
|
||||
export * from './modules'
|
Reference in New Issue
Block a user