- watch: {
- $lang: async function(newLang) {
- // Fill modalWelcome, and import translations from "./translations/$lang.js"
- document.getElementById("modalWelcome").innerHTML =
- require("raw-loader!pug-plain-loader!./modals/welcome/" + newLang + ".pug");
- const tModule = await import("./translations/" + newLang + ".js");
- Vue.prototype.$tr = tModule.translations;
- //console.log(tModule.translations);
- },
- $route: function(newRoute) {
- console.log(this.$route.params);
- //TODO: conn.send("enter", newRoute)
- },
- },
+// watch: {
+// $lang: async function(newLang) {
+// // Fill modalWelcome, and import translations from "./translations/$lang.js"
+// document.getElementById("modalWelcome").innerHTML =
+// require("raw-loader!pug-plain-loader!./modals/welcome/" + newLang + ".pug");
+// const tModule = await import("./translations/" + newLang + ".js");
+// Vue.prototype.$tr = tModule.translations;
+// //console.log(tModule.translations);
+// },
+// $route: function(newRoute) {
+// //console.log(this.$route.params);
+// console.log("navig to " + newRoute);
+// //TODO: conn.send("enter", newRoute)
+// },
+// },