feat: 新增首页路由

This commit is contained in:
ycy 2024-04-22 17:15:25 +08:00
parent 99db358c66
commit 5f715675c3

View File

@ -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,
}
]
}