Files
ArchiSteamFarm/docs/WebConfigGenerator/src/main.js
2018-03-01 04:34:24 +01:00

30 lines
644 B
JavaScript

// 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';
import VueI18n from 'vue-i18n';
import App from './App.vue';
import i18nSettings from './i18n.js';
import router from './router';
Vue.config.productionTip = false;
Vue.use(VueI18n);
console.log(i18nSettings);
const i18n = new VueI18n(i18nSettings);
/* eslint-disable no-new */
new Vue({
el: '#app',
router,
i18n,
template: '<App/>',
components: { App }
});
if ('serviceWorker' in navigator) {
navigator.serviceWorker.register('service-worker.js');
}