简化项目结构

This commit is contained in:
就眠儀式
2022-02-10 09:44:07 +08:00
parent 87eec9155c
commit 2c85b6d3ec
22 changed files with 45 additions and 1015 deletions

View File

@@ -53,11 +53,6 @@ const zhCN = [
component: () => import("../../docs/zh-CN/guide/member.md"),
meta: { title: "团队" },
},
{
path: "/zh-CN/guide/norms",
component: () => import("../../docs/zh-CN/guide/norms.md"),
meta: { title: "规范" },
},
{
path: "/zh-CN/guide/theme",
component: () => import("../../docs/zh-CN/guide/theme.md"),
@@ -67,12 +62,7 @@ const zhCN = [
path: "/zh-CN/guide/locale",
component: () => import("../../docs/zh-CN/guide/locale.md"),
meta: { title: "语言" },
},
{
path: "/zh-CN/guide/sponsor",
component: () => import("../../docs/zh-CN/guide/sponsor.md"),
meta: { title: "赞助" },
},
}
],
},
{
@@ -351,46 +341,7 @@ const zhCN = [
meta: { title: "结果" },
},
],
},
{
path: "/zh-CN/hooks",
redirect: "/zh-CN/hooks/useStarted",
component: Hooks,
meta: { title: "hooks" },
children: [
{
path: "/zh-CN/hooks/useStarted",
component: () => import("../../docs/zh-CN/hooks/useStarted.md"),
meta: { title: "useStarted" },
},
{
path: "/zh-CN/hooks/useClickOutside",
component: () =>
import("../../docs/zh-CN/hooks/useClickOutside.md"),
meta: { title: "useClickOutside" },
},
{
path: "/zh-CN/hooks/useFullScreen",
component: () => import("../../docs/zh-CN/hooks/useFullScreen.md"),
meta: { title: "useFullScreen" },
},
{
path: "/zh-CN/hooks/useMove",
component: () => import("../../docs/zh-CN/hooks/useMove.md"),
meta: { title: "useMove" },
},
{
path: "/zh-CN/hooks/useState",
component: () => import("../../docs/zh-CN/hooks/useState.md"),
meta: { title: "useState" },
},
{
path: "/zh-CN/hooks/useBoolean",
component: () => import("../../docs/zh-CN/hooks/useBoolean.md"),
meta: { title: "useBoolean" },
},
],
},
}
],
},
];

View File

@@ -42,6 +42,20 @@
</ul>
</div>
</fieldset>
<fieldset class="layui-elem-field layui-field-title">
<legend style="margin-bottom: 20px; text-align: center">设计资源</legend>
<div class="layui-field-box">
<ul class="layui-row layui-col-space6">
<li class="layui-col-sm24">
<div class="alone">
<a href="https://www.axured.cn/assets/axurefiles/d959191ea7d3a46378456fbd7d72f44f_215/start.html?#g=1&p=%E4%BD%9C%E5%93%81%E4%BB%8B%E7%BB%8D" target="_blank"
>axure - layui<cite>基于 layui axure 原型库</cite></a
>
</div>
</li>
</ul>
</div>
</fieldset>
</div>
</template>