路由配置优化及页面元信息添加

This commit is contained in:
2025-08-25 10:36:39 +08:00
parent 36950ab424
commit 8f099913ad
11 changed files with 80 additions and 26 deletions

View File

@ -13,6 +13,11 @@ import { routes } from 'vue-router/auto-routes';
// const Login = () => import("@/views/Login.vue");
// const NotFound = () => import("@/views/NotFound.vue");
routes.unshift({
path: "/",
redirect: "/home",
});
const router = createRouter({
history: createWebHistory(import.meta.env.BASE_URL),
routes:routes as any