mirror of
https://github.com/BTMuli/TeyvatGuide.git
synced 2025-12-14 09:38:13 +08:00
42 lines
1.0 KiB
TypeScript
42 lines
1.0 KiB
TypeScript
/**
|
|
* @file router modules user.ts
|
|
* @description user 路由模块
|
|
* @since Beta v0.6.10/v0.7.0
|
|
*/
|
|
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/characters",
|
|
name: "我的角色",
|
|
component: async () => await import("@/pages/User/Characters.vue"),
|
|
},
|
|
{
|
|
path: "/user/gacha",
|
|
name: "祈愿记录",
|
|
component: async () => await import("@/pages/User/Gacha.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;
|