️ Revert "♻️ 路由按需引入"

This reverts commit 07bc93ab39.
This commit is contained in:
BTMuli
2023-07-26 11:50:15 +08:00
parent 07bc93ab39
commit eab72c1503
4 changed files with 66 additions and 29 deletions

View File

@@ -2,44 +2,54 @@
* @file router modules wiki.ts
* @description wiki 路由模块
* @author BTMuli <bt-muli@outlook.com>
* @since Alpha v0.2.2
* @since Alpha v0.2.1
*/
// Wiki main
import Abyss from "../../pages/WIKI/Abyss.vue";
import Character from "../../pages/WIKI/Character.vue";
import GCG from "../../pages/WIKI/GCG.vue";
import Weapon from "../../pages/WIKI/Weapon.vue";
// Wiki sub
import TCharacter from "../../views/WIKI/t-character.vue";
import TGCG from "../../views/WIKI/t-gcg.vue";
import TWeapon from "../../views/WIKI/t-weapon.vue";
const wikiRoutes = [
{
path: "/wiki/abyss",
name: "深渊数据库",
component: async () => await import("../../pages/WIKI/Abyss.vue"),
component: Abyss,
},
{
path: "/wiki/character",
name: "角色图鉴",
component: async () => await import("../../pages/WIKI/Character.vue"),
component: Character,
},
{
path: "/wiki/GCG",
name: "卡牌图鉴",
component: async () => await import("../../pages/WIKI/GCG.vue"),
component: GCG,
},
{
path: "/wiki/weapon",
name: "武器图鉴",
component: async () => await import("../../pages/WIKI/Weapon.vue"),
component: Weapon,
},
{
path: "/wiki/detail/character/:id",
name: "角色详情",
component: async () => await import("../../views/WIKI/t-character.vue"),
component: TCharacter,
},
{
path: "/wiki/detail/GCG/:id",
name: "卡牌详情",
component: async () => await import("../../views/WIKI/t-gcg.vue"),
component: TGCG,
},
{
path: "/wiki/detail/weapon/:id",
name: "武器详情",
component: async () => await import("../../views/WIKI/t-weapon.vue"),
component: TWeapon,
},
];