nova-admin/src/store/index.ts
2023-06-21 15:07:06 +08:00

11 lines
233 B
TypeScript

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