1
1
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:
Avele 2019-09-14 19:49:19 +04:00
parent aeb9445613
commit e98546fdb9

View File

@ -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')
}, },