This commit is contained in:
2025-03-10 15:10:03 +08:00
parent cb388ce6b3
commit 527dad1dc7
17763 changed files with 13421 additions and 1 deletions
+20
View File
@@ -0,0 +1,20 @@
import { createRouter, createWebHistory, type RouteRecordRaw } from 'vue-router'
const routes: RouteRecordRaw[] = [
{
path: '/:pathMatch(.*)',
redirect: '/',
},
{
path: '/',
name: 'home',
component: defineAsyncComponent(() => import('@/pages/Home/HomeView.vue')),
},
]
const router = createRouter({
// routes,
routes,
history: createWebHistory(import.meta.env.BASE_URL),
})
export default router