Advance on Game.vue
[vchess.git] / client / src / main.js
CommitLineData
625022fd
BA
1import Vue from "vue";
2import App from "./App.vue";
3import router from "./router";
c66a829b 4import { store } from "./store";
625022fd
BA
5
6Vue.config.productionTip = false;
7
8new Vue({
9 router,
10 render: function(h) {
11 return h(App);
98db2082 12 },
c66a829b
BA
13 created: function() {
14 window.doClick = (elemId) => { document.getElementById(elemId).click() };
5f131484 15 store.initialize(this.$route.path);
bebcc8d4 16 // NOTE: at this point, variants and tr(anslations) might be uninitialized
c66a829b 17 },
625022fd 18}).$mount("#app");