Skip to content
New issue

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

子应用配置UMD模式,在主应用中访问时,没有触发mount方法 #1047

Closed
silencelilili opened this issue Jan 5, 2024 · 9 comments
Labels
fixed Issue fixed Need Reproduction 需要复现步骤

Comments

@silencelilili
Copy link

问题描述

问题的具体描述

复现步骤

  1. 子应用配置UMD模式

上传截图

请上传代码截图、控制台、终端等截图以帮助我们了解您的问题。
图片

复现仓库

请提供一个精简的代码仓库,然后上传到自己的 github,以帮助我们复现您的问题。

环境信息

  • micro-app版本:1.0.0-beta.5
  • 主应用前端框架&版本:vue3+vite
  • 子应用前端框架&版本:vue3+vite
  • 构建工具&版本:
@bailicangdu
Copy link
Member

能提供一份代码吗

@bailicangdu bailicangdu added the Need Reproduction 需要复现步骤 label Jan 5, 2024
Copy link

github-actions bot commented Jan 5, 2024

Hello @silencelilili. In order to facilitate location and troubleshooting, we need you to provide a realistic GitHub repository.
您好 @silencelilili, 为了方便定位和排查问题,我们需要您提供一个重现实例,请提供一个尽可能精简的 GitHub 仓库地址。

@silencelilili
Copy link
Author

能提供一份代码吗

代码片段可以么?
demo

@bailicangdu
Copy link
Member

看代码没有问题,可能不是这里的问题

@HLzhongxiao
Copy link

兄弟,解决了没,我也遇到同样的问题了

@HLzhongxiao
Copy link

demo地址:
链接: https://pan.baidu.com/s/1ThiOQz4GQJMc8FuTH8QUmQ
提取码: xxge

Copy link

Since the issue was labeled with Need Reproduction, but no response in 7 days. This issue will be close. If you have any questions, you can comment and reply.
由于该 issue 被标记为需要可复现步骤,却 7 天未收到回应。现关闭 issue,若有任何问题,可评论回复。

@trry-hub
Copy link

同样的问题,我也遇到了

@bailicangdu bailicangdu added the fixed Issue fixed label Jul 29, 2024
Copy link

Hello @silencelilili. The issue you reported has been fixed. This issue will be closed. Thank you for your feedback.
您好 @silencelilili,您反馈的问题已修复,该 issue 将要被关闭,感谢反馈。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
fixed Issue fixed Need Reproduction 需要复现步骤
Projects
None yet
Development

No branches or pull requests

4 participants