X-Git-Url: https://git.auder.net/?a=blobdiff_plain;f=client%2Fsrc%2Frouter.js;h=b373cdc2232a1be2aa9fbe55b70e3b6b33751ff7;hb=5b020e732156ee77d3b15b127aef2df57c2562ad;hp=7c2e2a68f26fc015016c0cc01d6101b6511889d0;hpb=c66a829b3770122fe0ff2fb9db8def9635bbc334;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 ] });