X-Git-Url: https://git.auder.net/img/rock_paper_scissors_lizard_spock.gif?a=blobdiff_plain;f=client%2Fsrc%2Frouter.js;h=7c2e2a68f26fc015016c0cc01d6101b6511889d0;hb=c66a829b3770122fe0ff2fb9db8def9635bbc334;hp=1507c8e7b5d8c26551df3d6945a1f0d3b01f8019;hpb=625022fdcf750f0aff8fcd699f7e9b89730e1d10;p=vchess.git diff --git a/client/src/router.js b/client/src/router.js index 1507c8e7..7c2e2a68 100644 --- a/client/src/router.js +++ b/client/src/router.js @@ -15,21 +15,22 @@ export default new Router({ name: "home", component: Home, }, - { - path: "/about", - name: "about", - // route level code-splitting - // this generates a separate chunk (about.[hash].js) for this route - // which is lazy-loaded when the route is visited. - component: loadView('About'), - //function() { - // return import(/* webpackChunkName: "about" */ "./views/About.vue"); - //} - }, - { - path: "/test", - name: "test", - component: loadView("Test"), - }, +// { +// path: "/about", +// name: "about", +// // route level code-splitting +// // this generates a separate chunk (about.[hash].js) for this route +// // which is lazy-loaded when the route is visited. +// component: loadView('About'), +// //function() { +// // 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 ] });