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
如果在主应用中使用registerMicroApps注册了子应用react16、并使用loadMicroApp注册子应用vue,页面中只能展示一个子应用,如果点击展示react16后,vue不显示,点击vue后,react16不显示。期望react16和vue同时显示在一个页面上。
使用的是qiankun的example的例子(https://github.com/umijs/qiankun),修改点: 1、在examples/main/index.js里将name:'vue'的子应用修改为使用loadMicroApp引入, 新增代码:loadMicroApp({ name: 'vue', entry: '//localhost:7101', container: '#vue' });
2、在examples/main/index.html文件里的
The text was updated successfully, but these errors were encountered:
No branches or pull requests
What happens?
如果在主应用中使用registerMicroApps注册了子应用react16、并使用loadMicroApp注册子应用vue,页面中只能展示一个子应用,如果点击展示react16后,vue不显示,点击vue后,react16不显示。期望react16和vue同时显示在一个页面上。
最小可复现仓库
使用的是qiankun的example的例子(https://github.com/umijs/qiankun),修改点:
1、在examples/main/index.js里将name:'vue'的子应用修改为使用loadMicroApp引入,
新增代码:loadMicroApp({ name: 'vue', entry: '//localhost:7101', container: '#vue' });
2、在examples/main/index.html文件里的
运行代码后,展示react16,不显示vue,点击vue的home/about后,react16不显示
复现步骤,错误日志以及相关配置
相关环境信息
The text was updated successfully, but these errors were encountered: