yunohost-admin/app/src/main.js

23 lines
482 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'
import i18n from './i18n'
import router from './plugins/router'
import store from './store'
import * as globalsComponents from './components/globals'
2020-07-06 19:08:34 +02:00
Vue.config.productionTip = false
// Register global components
2020-07-15 16:39:24 +02:00
for (const component of Object.values(globalsComponents)) {
Vue.component(component.name, component)
}
2020-07-06 19:08:34 +02:00
new Vue({
2020-07-15 16:39:24 +02:00
i18n,
router,
store,
render: h => h(App)
2020-07-06 19:08:34 +02:00
}).$mount('#app')