projects
/
vchess.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix capture-in-check bug for Capture and Losers variants
[vchess.git]
/
client
/
src
/
router.js
diff --git
a/client/src/router.js
b/client/src/router.js
index
c5afb17
..
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",
@@
-62,9
+66,9
@@
const router = new Router({
component: loadView("About")
},
{
component: loadView("About")
},
{
- path: "/
news
",
- name: "
news
",
- component: loadView("
News
")
+ path: "/
faq
",
+ name: "
faq
",
+ component: loadView("
Faq
")
}
]
});
}
]
});