23 lines
578 B
TypeScript
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[];
|