Files
nianxx-h5/web/src/app/routes.ts
2026-05-25 23:40:50 +08:00

23 lines
578 B
TypeScript

import type { RouteRecordRaw } from "vue-router";
export const routes = [
{
path: "/",
name: "home",
component: () => import("@/features/home/pages/HomePage.vue"),
meta: { title: "首页" },
},
{
path: "/health",
name: "health",
component: () => import("@/features/health/pages/HealthPage.vue"),
meta: { title: "健康检查" },
},
{
path: "/:pathMatch(.*)*",
name: "not-found",
component: () => import("@/features/system/pages/NotFoundPage.vue"),
meta: { title: "页面不存在" },
},
] satisfies RouteRecordRaw[];