2018-08-05 22:05:56 +02:00
|
|
|
import '@/polyfills';
|
|
|
|
|
2018-06-25 18:29:57 +02:00
|
|
|
// The Vue build version to load with the `import` command
|
|
|
|
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
|
|
|
|
import Vue from 'vue';
|
2018-07-11 01:51:26 +02:00
|
|
|
|
2018-08-05 22:05:56 +02:00
|
|
|
import '@/css/vendor/roboto-fontface.css';
|
|
|
|
import '@/css/vendor/material-icons.css';
|
2018-08-24 23:34:37 +02:00
|
|
|
import 'ol/ol.css';
|
2018-07-27 14:40:42 +02:00
|
|
|
import 'vuetify/src/stylus/app.styl';
|
2018-07-11 01:51:26 +02:00
|
|
|
|
2018-07-27 14:40:42 +02:00
|
|
|
import App from '@/App.vue';
|
|
|
|
import i18n from '@/i18n';
|
|
|
|
import router from '@/router';
|
|
|
|
import store from '@/store';
|
|
|
|
import '@/vuetify';
|
2018-06-25 18:29:57 +02:00
|
|
|
|
2018-07-10 14:32:48 +02:00
|
|
|
// Ensure locale is correctly set from the store value
|
2018-07-12 17:48:26 +02:00
|
|
|
store.dispatch('setLocale', { locale: store.state.settings.locale });
|
2018-07-10 14:32:48 +02:00
|
|
|
|
2018-06-25 18:29:57 +02:00
|
|
|
Vue.config.productionTip = false;
|
|
|
|
|
2018-08-05 15:47:28 +02:00
|
|
|
new Vue({ // eslint-disable-line no-new
|
2018-06-25 18:29:57 +02:00
|
|
|
el: '#app',
|
|
|
|
router,
|
|
|
|
i18n,
|
2018-06-26 11:39:43 +02:00
|
|
|
store,
|
2018-06-25 18:29:57 +02:00
|
|
|
components: { App },
|
2018-08-05 22:05:56 +02:00
|
|
|
render(h) {
|
|
|
|
return h('App');
|
|
|
|
},
|
2018-06-25 18:29:57 +02:00
|
|
|
});
|