From 319dd896f3a44237e1c26f3887fcb259f80f2714 Mon Sep 17 00:00:00 2001 From: jdlugosz963 Date: Thu, 11 Nov 2021 23:10:03 +0100 Subject: clean code and add notifications --- src/main.js | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/main.js') diff --git a/src/main.js b/src/main.js index c370aef..95d9800 100644 --- a/src/main.js +++ b/src/main.js @@ -3,11 +3,14 @@ import App from './App.vue' import router from './router' import store from './store' import Axios from 'axios' +import Notifications from 'vue-notification' Vue.config.productionTip = false Axios.defaults.headers.common['Authorization'] = store.state.token !== "" && `Token ${store.state.token}`; +Vue.use(Notifications) + new Vue({ router, store, -- cgit v1.2.3