We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
export const qiankun = { apps: microApps, lifeCycles: { beforeLoad: (app: any) => console.log('加载微服务:', app.name), afterUnMount: [(app: any) => console.log('解除微服务:', app.name)], }, // 绑定对应的路由 routes: [ { path: '/subReport', microApp: 'sub-app-report', }, { path: '/test/subReport', microApp: 'sub-app-report', insert: '/test', }, ], };
如上:通过 insert 嵌入路由,但是没有编译
The text was updated successfully, but these errors were encountered:
fix(qiankun): 运行时同时支持insert路径写入,以及嵌套路径两种写入方式 (umijs#751)
5324dd8
e90ef54
No branches or pull requests
export const qiankun = {
apps: microApps,
lifeCycles: {
beforeLoad: (app: any) => console.log('加载微服务:', app.name),
afterUnMount: [(app: any) => console.log('解除微服务:', app.name)],
},
// 绑定对应的路由
routes: [
{
path: '/subReport',
microApp: 'sub-app-report',
},
{
path: '/test/subReport',
microApp: 'sub-app-report',
insert: '/test',
},
],
};
如上:通过 insert 嵌入路由,但是没有编译
The text was updated successfully, but these errors were encountered: