fix(sidebar): 侧边栏添加 News,暂且就这些吧

This commit is contained in:
BTMuli
2023-03-05 17:38:56 +08:00
parent 2383dc7d51
commit 1306c6fd4e
5 changed files with 43 additions and 19 deletions

View File

@@ -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,
},
];