text: // =========================================================
  // * Vuetify Material Dashboard PRO - v2.0.0
  // =========================================================
  //
  // * Product Page: https://www.creative-tim.com/product/vuetify-material-dashboard-pro
  // * Copyright 2019 Creative Tim (https://www.creative-tim.com)
  //
  // * Coded by Creative Tim
  //
  // =========================================================
  //
  // * The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
  
  import Vue from 'vue'
  import App from './App.vue'
  import store from './store'
  import router from './router'
  import './plugins/base'
  import './plugins/chartist'
  import './plugins/vee-validate'
  import './plugins/axios/index'
  import './plugins/vue-file-agent'
  import './plugins/vue-world-map'
  import vuetify from './plugins/vuetify'
  import i18n from './i18n'
  
  Vue.config.productionTip = false
  function boot () {
    new Vue({
      router,
      store,
      vuetify,
      i18n,
      render: h => h(App),
    }).$mount('#app')
  }
  // extract user before vue instance created
  store.dispatch('user/checkUser')
    .then(() => {
      boot()
    })
    .catch(() => {
      boot()
    })
  