Commit 2004408a authored by zhengke's avatar zhengke

修改

parent c43e4ec2
...@@ -3,6 +3,11 @@ const routes = [{ ...@@ -3,6 +3,11 @@ const routes = [{
component: () => component: () =>
import('layouts/HomeLayout.vue'), import('layouts/HomeLayout.vue'),
children: [{ children: [{
path: '',
component: () =>
import('pages/Index.vue')
},
{
path: '/Index', path: '/Index',
component: () => component: () =>
import('pages/Index.vue') import('pages/Index.vue')
...@@ -11,6 +16,11 @@ const routes = [{ ...@@ -11,6 +16,11 @@ const routes = [{
path: '/About', path: '/About',
component: () => component: () =>
import('pages/About.vue') import('pages/About.vue')
},
{
path: '/details',
component: () =>
import('pages/details.vue')
} }
] ]
}, },
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment