mirror of
https://github.com/aelve/guide.git
synced 2024-11-26 12:42:30 +03:00
Index page path and redirect '/' to '/haskell'
This commit is contained in:
parent
aeb9445613
commit
e98546fdb9
@ -20,6 +20,10 @@ function createRouter (store) {
|
|||||||
routes: [
|
routes: [
|
||||||
{
|
{
|
||||||
path: '/',
|
path: '/',
|
||||||
|
redirect: '/haskell'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
path: '/haskell',
|
||||||
name: 'Index',
|
name: 'Index',
|
||||||
component: () => import('../page/Index.vue')
|
component: () => import('../page/Index.vue')
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user