vikunja-frontend/src/main.js
2018-09-09 17:23:06 +02:00

29 lines
667 B
JavaScript

import Vue from 'vue'
import App from './App.vue'
import router from './router'
import auth from './auth'
import '../node_modules/bulma/bulma.sass'
Vue.config.productionTip = false
// Notifications
import Notifications from 'vue-notification'
Vue.use(Notifications)
// Icons
import { library } from '@fortawesome/fontawesome-svg-core'
import { faSignOutAlt } from '@fortawesome/free-solid-svg-icons'
import { FontAwesomeIcon } from '@fortawesome/vue-fontawesome'
library.add(faSignOutAlt)
Vue.component('icon', FontAwesomeIcon)
// Check the user's auth status when the app starts
auth.checkAuth()
new Vue({
router,
render: h => h(App)
}).$mount('#app')