mirror of
https://gitee.com/hhyykk/ipms-sjy.git
synced 2025-07-31 11:24:07 +08:00
feat: 升级vue3
This commit is contained in:
@@ -1,11 +1,8 @@
|
||||
import type { App } from 'vue'
|
||||
import { createPinia } from 'pinia'
|
||||
import piniaPluginPersist from 'pinia-plugin-persist'
|
||||
|
||||
const store = createPinia()
|
||||
|
||||
store.use(piniaPluginPersist)
|
||||
|
||||
export const setupStore = (app: App<Element>) => {
|
||||
app.use(store)
|
||||
}
|
||||
|
Reference in New Issue
Block a user