|
|
@@ -1,10 +1,10 @@
|
|
|
import { createApp } from 'vue'
|
|
|
import App from './App.vue'
|
|
|
import router from './router'
|
|
|
-import store from './store'
|
|
|
+import { createPinia } from 'pinia'
|
|
|
+const store = createPinia()
|
|
|
|
|
|
const app = createApp(App)
|
|
|
app.use(router)
|
|
|
-app.use(store)
|
|
|
-
|
|
|
-app.mount('#app')
|
|
|
+ .use(store)
|
|
|
+ .mount('#app')
|