text: // The Vue build version to load with the `import` command
  // (runtime-only or standalone) has been set in webpack.base.conf with an alias.
  import Vue from 'vue'
  import App from './App'
  import router from './router'
  
  import LoggerService from './utils/logger'
  
  import './styles/index.scss'
  
  import { clickOutside } from './directives/click-outside'
  
  import store from './store/store'
  import Axios from 'axios'
  
  Vue.prototype.$http = Axios;
  const token = localStorage.getItem('token');
  if (token) {
    Vue.prototype.$http.defaults.headers.common['Authorization'] = token;
  }
  
  Vue.config.productionTip = false
  
  Vue.directive('click-outside', clickOutside);
  
  /* eslint-disable no-new */
  new Vue({
    el: '#app',
    router,
    store,
    template: '<App/>',
    components: { App }
  })
  