Files
TeyvatGuide/src/router/modules/user.ts
2025-10-27 19:42:02 +08:00

52 lines
1.3 KiB
TypeScript

/**
* @file router/modules/user.ts
* @description user 路由模块
* @since Beta v0.8.4
*/
import type { RouteRecordRaw } from "vue-router";
const userRoutes = (<const>[
{
path: "/user/abyss",
name: "深境螺旋",
component: async () => await import("@/pages/User/Abyss.vue"),
},
{
path: "/user/combat",
name: "真境剧诗",
component: async () => await import("@/pages/User/Combat.vue"),
},
{
path: "/user/challenge",
name: "幽境危战",
component: async () => await import("@/pages/User/Challenge.vue"),
},
{
path: "/user/characters",
name: "我的角色",
component: async () => await import("@/pages/User/Characters.vue"),
},
{
path: "/user/gacha",
name: "祈愿记录",
component: async () => await import("@/pages/User/Gacha.vue"),
},
{
path: "/user/gachaB",
name: "千星奇域祈愿记录",
component: async () => await import("@/pages/User/GachaB.vue"),
},
{
path: "/user/record",
name: "原神战绩",
component: async () => await import("@/pages/User/Record.vue"),
},
{
path: "/user/scripts",
name: "实用脚本",
component: async () => await import("@/pages/User/Scripts.vue"),
},
]) satisfies Array<RouteRecordRaw>;
export default userRoutes;