projects
/
vchess.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix Atarigo + Gomoku, prepare Emergo
[vchess.git]
/
client
/
src
/
router.js
diff --git
a/client/src/router.js
b/client/src/router.js
index
c51c886
..
8590c33
100644
(file)
--- a/
client/src/router.js
+++ b/
client/src/router.js
@@
-1,6
+1,5
@@
import Vue from "vue";
import Router from "vue-router";
import Vue from "vue";
import Router from "vue-router";
-import Hall from "./views/Hall.vue";
Vue.use(Router);
Vue.use(Router);
@@
-14,13
+13,18
@@
const router = new Router({
{
path: "/",
name: "hall",
{
path: "/",
name: "hall",
- component:
Hall
+ component:
loadView("Hall")
},
{
path: "/variants",
name: "variants",
component: loadView("Variants")
},
},
{
path: "/variants",
name: "variants",
component: loadView("Variants")
},
+ {
+ path: "/variants/list",
+ name: "variantlist",
+ component: loadView("VariantList")
+ },
{
path: "/variants/:vname([a-zA-Z0-9]+)",
name: "rules",
{
path: "/variants/:vname([a-zA-Z0-9]+)",
name: "rules",