qlin 8332b1114c
feat: 添加 login 插件 (#168)
* feat: 添加 login 插件

* docs: 优化 access docs 文档

* refactor: beforeRender迁移到router创建后

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

* refactor: 优化 plugin 插件

Co-authored-by: wanchun <445436867@qq.com>
2023-01-11 15:51:43 +08:00

11 lines
214 B
TypeScript

import '@fesjs/fes';
declare module '@fesjs/fes' {
interface PluginRuntimeConfig {
login?: {
loginPath?: string;
hasLogin?: () => boolean | Promise<boolean>;
};
}
}