mirror of
https://github.com/FatttSnake/Pinnacle-OA.git
synced 2026-04-04 22:41:24 +08:00
Used Pinia instead of vuex
This commit is contained in:
@@ -6,7 +6,9 @@ import '@/assets/css/base.css'
|
||||
import '@/assets/css/common.css'
|
||||
|
||||
import 'element-plus/theme-chalk/el-message.css'
|
||||
import { createPinia } from 'pinia'
|
||||
|
||||
const app = createApp(App)
|
||||
const pinia = createPinia()
|
||||
|
||||
app.use(router).mount('#app')
|
||||
app.use(router).use(pinia).mount('#app')
|
||||
|
||||
Reference in New Issue
Block a user