Move WebConfigGenerator to /docs in master branch

This commit is contained in:
JustArchi
2018-03-01 04:34:24 +01:00
parent adbc6809c8
commit 4d2f1b789b
88 changed files with 17265 additions and 0 deletions

View File

@@ -0,0 +1,29 @@
// 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');
}