This repository has been archived on 2024-02-08. You can view files and clone it, but cannot push or open issues or pull requests.
2018-08-28 20:50:22 +00:00
|
|
|
import Vue from 'vue'
|
|
|
|
import App from './App.vue'
|
2018-09-06 17:46:09 +00:00
|
|
|
import router from './router'
|
|
|
|
import auth from './auth'
|
2018-08-28 20:50:22 +00:00
|
|
|
|
2018-09-06 17:56:44 +00:00
|
|
|
import '../node_modules/bulma/bulma.sass'
|
|
|
|
|
2018-08-28 20:50:22 +00:00
|
|
|
Vue.config.productionTip = false
|
|
|
|
|
2018-09-08 19:43:16 +00:00
|
|
|
// Notifications
|
|
|
|
import Notifications from 'vue-notification'
|
|
|
|
Vue.use(Notifications)
|
|
|
|
|
2018-09-09 15:23:06 +00:00
|
|
|
// 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)
|
|
|
|
|
2018-09-06 17:46:09 +00:00
|
|
|
// Check the user's auth status when the app starts
|
|
|
|
auth.checkAuth()
|
|
|
|
|
2018-08-28 20:50:22 +00:00
|
|
|
new Vue({
|
2018-09-06 17:46:09 +00:00
|
|
|
router,
|
2018-08-28 20:50:22 +00:00
|
|
|
render: h => h(App)
|
|
|
|
}).$mount('#app')
|