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>
11 lines
214 B
TypeScript
11 lines
214 B
TypeScript
import '@fesjs/fes';
|
|
|
|
declare module '@fesjs/fes' {
|
|
interface PluginRuntimeConfig {
|
|
login?: {
|
|
loginPath?: string;
|
|
hasLogin?: () => boolean | Promise<boolean>;
|
|
};
|
|
}
|
|
}
|