04c8f06cbfe73bced6962278b588ecd5748d4734
2 import Router
from "vue-router";
6 function loadView(view
) {
8 import(/* webpackChunkName: "view-[request]" */ `@/views/${view}.vue`);
11 const router
= new Router({
16 component: loadView("Hall")
21 component: loadView("Variants")
24 path: "/variants/:vname([a-zA-Z0-9]+)",
26 component: loadView("Rules")
29 path: "/authenticate/:token",
31 component: loadView("Auth")
36 component: loadView("Logout")
41 component: loadView("Problems")
46 component: loadView("MyGames")
49 path: "/game/:id([a-zA-Z0-9]+)",
51 component: loadView("Game")
54 path: "/analyse/:vname([a-zA-Z0-9]+)",
56 component: loadView("Analyse")
61 component: loadView("About")
66 component: loadView("Faq")
71 export default router
;