feat(GCG): 页面草创

This commit is contained in:
BTMuli
2023-03-22 15:11:49 +08:00
parent b024323ca0
commit 8c0f555674
5 changed files with 272 additions and 193 deletions

View File

@@ -1,4 +1,5 @@
// 信息展示
import GCG from "../pages/GCG.vue";
import Home from "../pages/Home.vue";
import News from "../pages/News.vue";
// 数据交互
@@ -12,25 +13,30 @@ const routes = [
name: "首页",
component: Home,
},
{
path: "/home",
redirect: "/",
},
{
path: "/achievements",
name: "成就",
component: Achievements,
},
{
path: "/news",
name: "咨讯",
component: News,
},
{
path: "/config",
name: "设置",
component: Config,
},
{
path: "/GCG",
name: "卡牌",
component: GCG,
},
{
path: "/home",
redirect: "/",
},
{
path: "/news",
name: "咨讯",
component: News,
},
];
export default routes;