Comments (3)
这个写法是有效的,确认一下你的 plugin-layout 版本
icon:'user'
from plugins.
plugins/packages/plugin-layout/src/index.ts
Lines 107 to 115 in 984579e
获取中 userConfig 中不包含约定式路由生成的 routes
from plugins.
我在packages 里发现了上面的代码 但是很明显并没有起作用
我的layout 版本是0.10.0
node版本是 11.10.1
如果没有别的办法的话 我只有考虑 手动添加 prolayout 来实现 icons 加载
from plugins.
Related Issues (20)
- umi-qiankun peerDependencies react16
- 约定式路由,如何配置 antdpro中的layout属性
- Unable to customize sider in RunTimeLayoutConfig layout
- vue 启用 qiankun插件报错 HOT 1
- 主应用跳转到子应用时,出现空白页
- Uncaught Error: single-spa minified message #13
- 建议plugin-qiankun和qiankun保持同步,怎加自定义fetch请求 HOT 1
- @umijs/plugin-openapi 插件umi4报错api.addMiddewares is not a function
- 主应用路由是 hash 模式的话,子应用使用 history 模式是不是无法接入?
- 由于本项目的依赖有点旧,让项目安装依赖的时候出现少量 deprecated
- 希望@umijs/plugin-openapi增加serversPath参数
- 使用@ant-design/pro-* 编译了超多的var变量 HOT 1
- 升级 react 18, qiankun 报错Unhandled Rejection (TypeError): m.createRoot is not a function
- useModel 不能在ReactDom.render 内使用
- openapi 配置中 customFunctionName 和 customClassName 该如何使用
- 二级菜单可以设置默认展开么,没有找到相关配置
- antd pro 项目使用@umijs/plugin-qiankun改造成微前端,如何在主应用的二级菜单中指向子应用的某个非首页路由呢?
- antd pro 4.0.0 在哪里添加qiankun lifecycle函数呢?
- 使用initial-state等插件报错
- layout插件中,如何使用onCollapse
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from plugins.