-
Notifications
You must be signed in to change notification settings - Fork 165
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* feat: 添加 login 插件 * docs: 优化 access docs 文档 * refactor: beforeRender迁移到router创建后 * fix: 修复清除webpack-cache问题 * refactor: 优化 plugin 插件 Co-authored-by: wanchun <[email protected]>
- Loading branch information
Showing
42 changed files
with
1,958 additions
and
1,746 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
module.exports = { | ||
...require("@webank/eslint-config-webank/.prettierrc.js"), | ||
}; | ||
// eslint-disable-next-line import/no-extraneous-dependencies, import/extensions | ||
...require('@webank/eslint-config-webank/.prettierrc.js'), | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,82 +1,67 @@ | ||
import type { SidebarConfig } from '@vuepress/theme-default' | ||
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', | ||
], | ||
}, | ||
{ | ||
// isGroup: true, | ||
text: '插件开发', | ||
children: [ | ||
'/reference/plugin/dev/README.md', | ||
'/reference/plugin/dev/api.md' | ||
], | ||
}, | ||
], | ||
'/reference/cli/': [ | ||
'/reference/cli/README.md', | ||
], | ||
} | ||
'/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'], | ||
}; |
Oops, something went wrong.