Files
TeyvatGuide/src/router/modules/wiki.ts
2023-10-17 20:32:13 +08:00

46 lines
1.1 KiB
TypeScript

/**
* @file router modules wiki.ts
* @description wiki 路由模块
* @since Beta v0.3.3
*/
const wikiRoutes = [
{
path: "/wiki/abyss",
name: "深渊数据库",
component: async () => await import("../../pages/WIKI/Abyss.vue"),
},
{
path: "/wiki/character",
name: "角色图鉴",
component: async () => await import("../../pages/WIKI/Character.vue"),
},
{
path: "/wiki/GCG",
name: "卡牌图鉴",
component: async () => await import("../../pages/WIKI/GCG.vue"),
},
{
path: "/wiki/weapon",
name: "武器图鉴",
component: async () => await import("../../pages/WIKI/Weapon.vue"),
},
{
path: "/wiki/detail/character/:id",
name: "角色详情",
component: async () => await import("../../views/WIKI/t-character.vue"),
},
{
path: "/wiki/detail/GCG/:id",
name: "卡牌详情",
component: async () => await import("../../views/WIKI/t-gcg.vue"),
},
{
path: "/wiki/detail/weapon/:id",
name: "武器详情",
component: async () => await import("../../views/WIKI/t-weapon.vue"),
},
];
export default wikiRoutes;