♻️ 全面整理重构

This commit is contained in:
目棃
2024-12-13 16:15:01 +08:00
parent 86bfc80b57
commit 3ed6d503d4
229 changed files with 3105 additions and 4127 deletions

View File

@@ -3,33 +3,34 @@
* @description wiki 路由模块
* @since Beta v0.5.3
*/
import type { RouteRecordRaw } from "vue-router";
const wikiRoutes = [
const wikiRoutes = (<const>[
{
path: "/wiki/abyss",
name: "深渊数据库",
component: async () => await import("../../pages/WIKI/Abyss.vue"),
component: async () => await import("@/pages/WIKI/Abyss.vue"),
},
{
path: "/wiki/character/:id",
name: "角色图鉴",
component: async () => await import("../../pages/WIKI/Character.vue"),
component: async () => await import("@/pages/WIKI/Character.vue"),
},
{
path: "/wiki/namecard",
path: "/wiki/nameCard",
name: "名片图鉴",
component: async () => await import("../../pages/WIKI/Namecard.vue"),
component: async () => await import("@/pages/WIKI/NameCard.vue"),
},
{
path: "/wiki/material",
name: "材料图鉴",
component: async () => await import("../../pages/WIKI/Material.vue"),
component: async () => await import("@/pages/WIKI/Material.vue"),
},
{
path: "/wiki/weapon/:id",
name: "武器图鉴",
component: async () => await import("../../pages/WIKI/Weapon.vue"),
component: async () => await import("@/pages/WIKI/Weapon.vue"),
},
];
]) satisfies Array<RouteRecordRaw>;
export default wikiRoutes;