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