X-Git-Url: https://git.auder.net/js/rpsls.js?a=blobdiff_plain;f=client%2Fsrc%2Frouter.js;h=7c2e2a68f26fc015016c0cc01d6101b6511889d0;hb=c66a829b3770122fe0ff2fb9db8def9635bbc334;hp=08bbf88ba281350a284334377bedb0e76b9f5d1f;hpb=8d61fc4ab7373b4a576f3f9108cdf7768ae27096;p=vchess.git diff --git a/client/src/router.js b/client/src/router.js index 08bbf88b..7c2e2a68 100644 --- a/client/src/router.js +++ b/client/src/router.js @@ -15,22 +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 ] });