Skip to content

Commit

Permalink
feat: 添加 login 插件 (#168)
Browse files Browse the repository at this point in the history
* feat: 添加 login 插件

* docs: 优化 access docs 文档

* refactor: beforeRender迁移到router创建后

* fix: 修复清除webpack-cache问题

* refactor: 优化 plugin 插件

Co-authored-by: wanchun <[email protected]>
  • Loading branch information
winixt and wanchun authored Jan 11, 2023
1 parent 2ede8a5 commit b079726
Show file tree
Hide file tree
Showing 42 changed files with 1,958 additions and 1,746 deletions.
5 changes: 3 additions & 2 deletions .prettierrc.js
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'),
};
1 change: 1 addition & 0 deletions build.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ module.exports = {
'fes-plugin-pinia',
'fes-plugin-windicss',
'fes-plugin-watermark',
'fes-plugin-login',
],
copy: [],
};
145 changes: 65 additions & 80 deletions docs/.vuepress/configs/sidebar/zh.ts
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'],
};
Loading

0 comments on commit b079726

Please sign in to comment.