Files
chatgpt-web/src/store/index.ts
2023-02-14 10:51:47 +08:00

10 lines
183 B
TypeScript

import type { App } from 'vue'
import { createPinia } from 'pinia'
export function setupStore(app: App) {
const store = createPinia()
app.use(store)
}
export * from './modules'