projects
/
vchess.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Smooth scrolling in moves, template to render moveList
[vchess.git]
/
client
/
src
/
router.js
diff --git
a/client/src/router.js
b/client/src/router.js
index
26bdee9
..
1eb88f9
100644
(file)
--- a/
client/src/router.js
+++ b/
client/src/router.js
@@
-68,7
+68,7
@@
const router = new Router({
{
path: "/analyze/:vname([a-zA-Z0-9]+)",
name: "analyze",
{
path: "/analyze/:vname([a-zA-Z0-9]+)",
name: "analyze",
- component: loadView("
Gam
e"),
+ component: loadView("
Analyz
e"),
},
{
path: "/about",
},
{
path: "/about",
@@
-86,9
+86,6
@@
router.beforeEach((to, from, next) => {
store.state.conn.send(JSON.stringify({code: "pagechange", page: to.path}));
}
next();
store.state.conn.send(JSON.stringify({code: "pagechange", page: to.path}));
}
next();
- // TODO?: redirect to current game (through GameStorage.getCurrent()) if any?
- // (and if the URL doesn't already match it) (use next("/game/GID"))
- //https://router.vuejs.org/guide/advanced/navigation-guards.html#global-before-guards
});
export default router;
});
export default router;