ruoyi-plus-soybean/src/store/index.ts

11 lines
194 B
TypeScript
Raw Normal View History

import type { App } from 'vue';
import { createPinia } from 'pinia';
export const store = createPinia();
export function setupStore(app: App) {
app.use(store);
}
2021-11-04 15:01:06 +08:00
export * from './modules';