goview_vue/src/store/index.ts
2022-11-05 15:23:01 +08:00

11 lines
187 B
TypeScript

import type { App } from 'vue';
import { createPinia } from 'pinia';
const pinia = createPinia();
export function setupStore(app: App<Element>) {
app.use(pinia);
}
export { pinia };