Import new toast plugin to main. No longer inject axios, this was throwing an error

This commit is contained in:
2019-06-02 00:21:23 +02:00
parent 1add22c7c0
commit 9739e0e00a

View File

@@ -3,6 +3,7 @@ import VueRouter from 'vue-router'
import axios from 'axios'
import router from './routes'
import Toast from './plugins/Toast'
import DataTablee from 'vue-data-tablee'
import VModal from 'vue-js-modal'
@@ -10,12 +11,14 @@ import App from './App.vue'
window.eventHub = new Vue();
Vue.use(VueRouter, axios)
Vue.use(VueRouter)
Vue.use(Toast)
Vue.use(DataTablee)
Vue.use(VModal, { dialog: true })
new Vue({
el: '#app',
router,
render: h => h(App)
components: { App },
template: '<App />'
})