️ 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

@@ -1,30 +1,37 @@
/**
* @file router modules user.ts
* @description user 路由模块
* @author BTMuli <bt-muli@outlook.com>
* @since Alpha v0.2.2
* @author BTMuli<bt-muli@outlook.com>
* @since Alpha v0.2.0
*/
// user main
import Abyss from "../../pages/User/Abyss.vue";
import Characters from "../../pages/User/Characters.vue";
import Gacha from "../../pages/User/Gacha.vue";
import Record from "../../pages/User/Record.vue";
// user sub
const userRoutes = [
{
path: "/user/abyss",
name: "深渊记录",
component: async () => await import("../../pages/User/Abyss.vue"),
component: Abyss,
},
{
path: "/user/characters",
name: "我的角色",
component: async () => await import("../../pages/User/Characters.vue"),
component: Characters,
},
{
path: "/user/gacha",
name: "祈愿记录",
component: async () => await import("../../pages/User/Gacha.vue"),
component: Gacha,
},
{
path: "/user/record",
name: "原神战绩",
component: async () => await import("../../pages/User/Record.vue"),
component: Record,
},
];