♻️(document): 调整文档结构
This commit is contained in:
20
package/document-layer/src/router/zh-CN.ts
Normal file
20
package/document-layer/src/router/zh-CN.ts
Normal file
@@ -0,0 +1,20 @@
|
||||
import BaseLayout from "../layouts/Layout.vue";
|
||||
|
||||
const zhCN = [
|
||||
{
|
||||
path: "/",
|
||||
redirect: "/zh-CN/index",
|
||||
component: BaseLayout,
|
||||
meta: { title: "首页" },
|
||||
children: [
|
||||
{
|
||||
path: "/zh-CN/index",
|
||||
component: () => import("../../docs/zh-CN/index.md"),
|
||||
|
||||
meta: { title: "指南" },
|
||||
},
|
||||
],
|
||||
},
|
||||
];
|
||||
|
||||
export default zhCN;
|
||||
Reference in New Issue
Block a user