mirror of
https://git.meshkee.com/cssd/cssd-back.git
synced 2026-10-10 20:01:07 +03:30
37 lines
801 B
JavaScript
Vendored
37 lines
801 B
JavaScript
Vendored
import Vue from 'vue'
|
|
|
|
// Application imports
|
|
import App from './App.vue'
|
|
import router from './router'
|
|
import '@/plugins/vuetify'
|
|
|
|
|
|
// import { ApiService, TokenService } from '@/services'
|
|
//
|
|
// ApiService.setHeader();
|
|
// Set the base URL of the API
|
|
// ApiService.init(process.env.MIX_APP_ROOT_API)
|
|
|
|
// // If token exists set Authorizion header
|
|
// if (TokenService.getToken()) {
|
|
// ApiService.setAuthHeader();
|
|
//
|
|
// // If info exists set info in Store
|
|
// if(TokenService.getInfo()) {
|
|
// let info = TokenService.getInfo();
|
|
// store.commit('setInfo', info);
|
|
// } else {
|
|
// store.dispatch('info');
|
|
// }
|
|
// }
|
|
|
|
// import hasRole from '@/services/mixin/hasRole'
|
|
// Vue.mixin(hasRole)
|
|
|
|
/* eslint-disable no-new */
|
|
new Vue({
|
|
router,
|
|
store,
|
|
render: h => h(App),
|
|
}).$mount('#app');
|