mirror of
https://github.com/WeBankFinTech/fes.js.git
synced 2025-04-05 19:41:57 +08:00
* feat: 添加 login 插件 * docs: 优化 access docs 文档 * refactor: beforeRender迁移到router创建后 * fix: 修复清除webpack-cache问题 * refactor: 优化 plugin 插件 Co-authored-by: wanchun <445436867@qq.com>
68 lines
2.4 KiB
TypeScript
68 lines
2.4 KiB
TypeScript
import type { SidebarConfig } from '@vuepress/theme-default';
|
|
|
|
export const zh: SidebarConfig = {
|
|
'/guide/': [
|
|
{
|
|
// isGroup: true,
|
|
text: '介绍',
|
|
children: ['/guide/README.md', '/guide/getting-started.md'],
|
|
},
|
|
{
|
|
// isGroup: true,
|
|
text: '基础',
|
|
children: [
|
|
'/guide/directory-structure.md',
|
|
'/guide/builder.md',
|
|
'/guide/config.md',
|
|
'/guide/runtime-config.md',
|
|
'/guide/env.md',
|
|
'/guide/route.md',
|
|
'/guide/plugin.md',
|
|
'/guide/template.md',
|
|
'/guide/mock.md',
|
|
'/guide/upgrade3.md',
|
|
],
|
|
},
|
|
{
|
|
// isGroup: true,
|
|
text: '样式和资源文件',
|
|
children: ['/guide/image.md', '/guide/css.md', '/guide/public.md'],
|
|
},
|
|
'/guide/contributing.md',
|
|
'/guide/faq.md',
|
|
],
|
|
'/reference/config/': ['/reference/config/README.md'],
|
|
'/reference/api/': ['/reference/api/README.md'],
|
|
'/reference/plugin/': [
|
|
'/reference/plugin/README.md',
|
|
{
|
|
// isGroup: true,
|
|
text: 'Plugins',
|
|
children: [
|
|
'/reference/plugin/plugins/access.md',
|
|
'/reference/plugin/plugins/enums.md',
|
|
'/reference/plugin/plugins/icon.md',
|
|
'/reference/plugin/plugins/jest.md',
|
|
'/reference/plugin/plugins/layout.md',
|
|
'/reference/plugin/plugins/locale.md',
|
|
'/reference/plugin/plugins/model.md',
|
|
'/reference/plugin/plugins/request.md',
|
|
'/reference/plugin/plugins/vuex.md',
|
|
'/reference/plugin/plugins/qiankun.md',
|
|
'/reference/plugin/plugins/windicss.md',
|
|
'/reference/plugin/plugins/sass.md',
|
|
'/reference/plugin/plugins/editor.md',
|
|
'/reference/plugin/plugins/pinia.md',
|
|
'/reference/plugin/plugins/watermark.md',
|
|
'/reference/plugin/plugins/login.md',
|
|
],
|
|
},
|
|
{
|
|
// isGroup: true,
|
|
text: '插件开发',
|
|
children: ['/reference/plugin/dev/README.md', '/reference/plugin/dev/api.md'],
|
|
},
|
|
],
|
|
'/reference/cli/': ['/reference/cli/README.md'],
|
|
};
|