mirror of
https://github.com/BTMuli/TeyvatGuide.git
synced 2026-03-21 04:49:46 +08:00
31 lines
735 B
TypeScript
31 lines
735 B
TypeScript
/**
|
|
* wiki 路由模块
|
|
* @since Beta v0.8.6
|
|
*/
|
|
import type { RouteRecordRaw } from "vue-router";
|
|
|
|
const wikiRoutes = (<const>[
|
|
{
|
|
path: "/wiki/character/:id?",
|
|
name: "角色图鉴",
|
|
component: async () => await import("@/pages/WIKI/Character.vue"),
|
|
},
|
|
{
|
|
path: "/wiki/nameCard",
|
|
name: "名片图鉴",
|
|
component: async () => await import("@/pages/WIKI/NameCard.vue"),
|
|
},
|
|
{
|
|
path: "/wiki/material",
|
|
name: "材料图鉴",
|
|
component: async () => await import("@/pages/WIKI/Material.vue"),
|
|
},
|
|
{
|
|
path: "/wiki/weapon/:id?",
|
|
name: "武器图鉴",
|
|
component: async () => await import("@/pages/WIKI/Weapon.vue"),
|
|
},
|
|
]) satisfies Array<RouteRecordRaw>;
|
|
|
|
export default wikiRoutes;
|