diff options
author | jdlugosz963 <jdlugosz963@gmail.com> | 2021-11-14 03:36:10 +0100 |
---|---|---|
committer | jdlugosz963 <jdlugosz963@gmail.com> | 2021-11-14 03:36:10 +0100 |
commit | 7f2f1e63826c0acb4514edfb1fbf7a884893f8c4 (patch) | |
tree | 3a9c5d0b74e698c00d9e0ce35b4e80721c8ad548 /src/main.js | |
parent | 319dd896f3a44237e1c26f3887fcb259f80f2714 (diff) | |
download | lom_frontend-7f2f1e63826c0acb4514edfb1fbf7a884893f8c4.tar.gz lom_frontend-7f2f1e63826c0acb4514edfb1fbf7a884893f8c4.zip |
Add command line
Diffstat (limited to 'src/main.js')
-rw-r--r-- | src/main.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/main.js b/src/main.js index 95d9800..fd31090 100644 --- a/src/main.js +++ b/src/main.js | |||
@@ -4,12 +4,14 @@ import router from './router' | |||
4 | import store from './store' | 4 | import store from './store' |
5 | import Axios from 'axios' | 5 | import Axios from 'axios' |
6 | import Notifications from 'vue-notification' | 6 | import Notifications from 'vue-notification' |
7 | import VueHotkey from 'v-hotkey' | ||
7 | 8 | ||
8 | Vue.config.productionTip = false | 9 | Vue.config.productionTip = false |
9 | 10 | ||
10 | Axios.defaults.headers.common['Authorization'] = store.state.token !== "" && `Token ${store.state.token}`; | 11 | Axios.defaults.headers.common['Authorization'] = store.state.token !== "" && `Token ${store.state.token}`; |
11 | 12 | ||
12 | Vue.use(Notifications) | 13 | Vue.use(Notifications) |
14 | Vue.use(VueHotkey) | ||
13 | 15 | ||
14 | new Vue({ | 16 | new Vue({ |
15 | router, | 17 | router, |