mirror of
https://github.com/JustArchiNET/ArchiSteamFarm.git
synced 2026-01-01 22:20:52 +00:00
30 lines
644 B
JavaScript
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');
|
|
}
|