2
0
mirror of https://github.com/acepanel/panel.git synced 2026-02-04 11:27:17 +08:00
Files
panel/web/src/store/index.ts
2024-10-19 18:01:18 +08:00

12 lines
296 B
Go

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