✨ feat: 新增首页路由
This commit is contained in:
parent
99db358c66
commit
5f715675c3
|
@ -7,13 +7,14 @@ const router = createRouter({
|
|||
routes: [
|
||||
{
|
||||
path: '/',
|
||||
redirect: '/home',
|
||||
name: 'home',
|
||||
component: Layout,
|
||||
children: [
|
||||
{
|
||||
path: '/ad',
|
||||
name: 'ad',
|
||||
component: () => import('@/papes/ShiYan.vue')
|
||||
path: '/home',
|
||||
name: '首页',
|
||||
component: HomeView,
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user