X-Git-Url: https://git.auder.net/game/%22%20%20%20data.gameInfo.gameId%20%20%20%22?a=blobdiff_plain;f=client%2Fsrc%2Frouter.js;h=b373cdc2232a1be2aa9fbe55b70e3b6b33751ff7;hb=7c3cd3794ee13c41fc623179f7d4142d0d3e74da;hp=7c2e2a68f26fc015016c0cc01d6101b6511889d0;hpb=ccd4a2b74aecdd6e52960a9ed42acea3e40c9271;p=vchess.git diff --git a/client/src/router.js b/client/src/router.js index 7c2e2a68..b373cdc2 100644 --- a/client/src/router.js +++ b/client/src/router.js @@ -15,6 +15,16 @@ export default new Router({ name: "home", component: Home, }, + { + path: "/variants", + name: "variants", + component: loadView("Variants"), + }, +// { +// path: "/variants/:vname([a-zA-Z0-9]+)", +// name: "rules", +// component: Rules, +// }, // { // path: "/about", // name: "about", @@ -26,11 +36,6 @@ export default new Router({ // // return import(/* webpackChunkName: "about" */ "./views/About.vue"); // //} // }, -// { -// path: "/test", -// name: "test", -// component: loadView("Test"), -// }, // TODO: gameRef, problemId: https://router.vuejs.org/guide/essentials/dynamic-matching.html ] });