Change data loading to centralized store
This commit is contained in:
@@ -4,3 +4,7 @@ import router from './router'
|
||||
import store from './store'
|
||||
|
||||
createApp(App).use(store).use(router).mount('#app')
|
||||
|
||||
store.dispatch('fetchServers', {})
|
||||
store.dispatch('fetchPlayers', {})
|
||||
store.dispatch('fetchWeapons', {})
|
||||
|
||||
Reference in New Issue
Block a user