基础静态资源配置

This commit is contained in:
wzy-warehouse
2026-04-08 14:18:03 +08:00
parent 78a477be3c
commit 1b8348aecc
25 changed files with 6535 additions and 12 deletions
+9 -4
View File
@@ -5,13 +5,18 @@ const router = createRouter({
routes: [
{
path: '/',
redirect: '/home',
redirect: '/rainstorm',
},
{
path: '/home',
name: 'home',
component: () => import('@/views/home/HomePage.vue'),
path: '/rainstorm',
name: 'rainstorm',
component: () => import('@/views/home/rainstorm/Rainstorm.vue'),
},
{
path: '/earthquake',
name: 'earthquake',
component: () => import('@/views/home/earthquake/Earthquake.vue'),
}
],
})