Replies: 2 comments 2 replies
-
一般情况你是不知道子应用有哪些路径的,因为子应用的路径可能未来新增,这个时候父应用如果还要再改一遍路由表发布的话,解耦的意义就不大了,所以用通配 如果你打算细分路由表的话,还是用 至于在静态路由( 这里还有一个复杂的例子可以参考:#12277 (comment) |
Beta Was this translation helpful? Give feedback.
2 replies
-
感谢!大佬!~~~~~~ |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
前提:qiankun umi4主应用+umi4子应用
{
name: '子应用1',
path: '/app1',
microApp: 'app1',
icon: 'TabletOutlined',
routes: [
{
name: '系统管理',
path: '/app1/system',
},
]
},
报错No routes matched location "/app1/system"
{
name: 'app1',
path: '/app1/*',
microApp: 'app1',
},
问题:为啥方法1设置报错
Beta Was this translation helpful? Give feedback.
All reactions