mirror of
https://github.com/BTMuli/TeyvatGuide.git
synced 2025-12-13 09:28:14 +08:00
fix(sidebar): 侧边栏添加 News,暂且就这些吧
This commit is contained in:
@@ -1,19 +1,25 @@
|
||||
import Home from "../pages/Home.vue";
|
||||
import News from "../pages/News.vue";
|
||||
import Config from "../pages/Config.vue";
|
||||
|
||||
const routes = [
|
||||
{
|
||||
path: "/",
|
||||
name: "Home",
|
||||
name: "首页",
|
||||
component: Home,
|
||||
},
|
||||
{
|
||||
path: "/home",
|
||||
redirect: "/",
|
||||
},
|
||||
{
|
||||
path: "/news",
|
||||
name: "咨讯",
|
||||
component: News,
|
||||
},
|
||||
{
|
||||
path: "/config",
|
||||
name: "Config",
|
||||
name: "设置",
|
||||
component: Config,
|
||||
},
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user