Thinking about Game view: around line 100 in views/Game.js
[vchess.git] / client / src / router.js
index 6814895..5879a1e 100644 (file)
@@ -53,6 +53,11 @@ const router = new Router({
       component: Hall,
       //redirect: "/", //problem: redirection before end of AJAX request
     },
+    {
+      path: "/game/:id",
+      name: "game",
+      component: loadView("Game"),
+    },
 //    {
 //      path: "/about",
 //      name: "about",