blob: 50babcd953d0894f41793c75e8a93fb181019ff2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import Axios from 'axios'
import Notifications from 'vue-notification'
import VueHotkey from 'v-hotkey'
import '@/assets/css/tailwind.css'
Vue.config.productionTip = false
Axios.defaults.headers.common['Authorization'] = store.state.token !== "" && `Token ${store.state.token}`;
Vue.use(Notifications)
Vue.use(VueHotkey)
new Vue({
router,
store,
render: h => h(App)
}).$mount('#app')
|