Commit | Line | Data |
---|---|---|
625022fd BA |
1 | import Vue from "vue"; |
2 | import App from "./App.vue"; | |
3 | import router from "./router"; | |
c66a829b | 4 | import { store } from "./store"; |
625022fd BA |
5 | |
6 | Vue.config.productionTip = false; | |
7 | ||
8 | new 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() }; | |
80ee5d5a BA |
15 | // TODO: why is this wrong? |
16 | //store.initialize(this.$route.path); | |
17 | store.initialize(window.location.href.split("#")[1]); | |
bebcc8d4 | 18 | // NOTE: at this point, variants and tr(anslations) might be uninitialized |
c66a829b | 19 | }, |
625022fd | 20 | }).$mount("#app"); |