2020-07-06 19:08:34 +02:00
|
|
|
import Vue from 'vue'
|
|
|
|
import App from './App.vue'
|
2020-07-07 13:48:54 +02:00
|
|
|
import './plugins/bootstrap-vue'
|
2020-07-06 20:13:01 +02:00
|
|
|
import i18n from './plugins/i18n'
|
2020-07-07 13:48:54 +02:00
|
|
|
import router from './plugins/router'
|
|
|
|
|
2020-07-08 14:35:22 +02:00
|
|
|
import * as globalsComponents from './components/globals'
|
|
|
|
|
2020-07-06 19:08:34 +02:00
|
|
|
|
|
|
|
Vue.config.productionTip = false
|
|
|
|
|
2020-07-08 14:35:22 +02:00
|
|
|
// Register global components
|
|
|
|
for (let component of Object.values(globalsComponents)) {
|
|
|
|
Vue.component(component.name, component)
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2020-07-06 19:08:34 +02:00
|
|
|
new Vue({
|
2020-07-07 13:48:54 +02:00
|
|
|
i18n,
|
|
|
|
router,
|
2020-07-08 14:35:22 +02:00
|
|
|
render: h => h(App),
|
2020-07-06 19:08:34 +02:00
|
|
|
}).$mount('#app')
|