yunohost-admin/app/src/main.js

24 lines
508 B
JavaScript
Raw Normal View History

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