1.0.7 • Published 4 years ago
umi-plugin-convention-patch-routes v1.0.7
umi-plugin-patch-routes
Notice
This plugin is suitable for Ant Design Pro V5
Usage
Configure in config/extraConfig.json
,
{
// 不需要布局的约定式路由path
"noLayoutPaths": [
"/user/login"
],
// 权限过滤器(支持不包含)
"access": {
"name": "accessFilter",
"exclude": ["/user/login"]
}
}
LICENSE
MIT