works for v2

This commit is contained in:
2023-04-23 14:09:20 +02:00
parent ec2de227dd
commit 363e0a3b08
11 changed files with 462 additions and 307 deletions
+3 -5
View File
@@ -1,10 +1,8 @@
import { createApp } from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import { createPinia } from 'pinia'
createApp(App).use(store).use(router).mount('#app')
const pinia = createPinia()
store.dispatch('fetchServers', {})
store.dispatch('fetchPlayers', {})
store.dispatch('fetchWeapons', {})
createApp(App).use(pinia).use(router).mount('#app')