Skip to content
Snippets Groups Projects
main.js 456 B
Newer Older
import axios from 'axios'
Timothee P's avatar
Timothee P committed
import Vue from 'vue'
Timothee P's avatar
Timothee P committed
import App from './App.vue'
import './registerServiceWorker'
import router from './router'
Timothee P's avatar
Timothee P committed

Vue.config.productionTip = false

Timothee P's avatar
Timothee P committed
axios.all([store.dispatch("GET_ALL_PROJECTS"), store.dispatch("GET_STATIC_PAGES")]).then(axios.spread(function () {
  new Vue({
    router,
    store,
    render: h => h(App)
  }).$mount('#app')