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

关于子应用使用cdn的问题 #2995

Closed
Reeyc opened this issue Aug 12, 2024 · 1 comment
Closed

关于子应用使用cdn的问题 #2995

Reeyc opened this issue Aug 12, 2024 · 1 comment

Comments

@Reeyc
Copy link

Reeyc commented Aug 12, 2024

What happens?

关于子应用使用cdn的问题

A clear and concise description of what the bug is.
子应用webpack5 使用了CDN,父应用没使用CDN,子应用独立运行时没问题,但是作为qiankun子项目加载会报错Uncaught ReferenceError: Vue is not defined,应该是CDN通过<script>标签加载时,全局Vue变量 挂到了父应用的window下,导致子应用运行报错,这种如何处理

  • qiankun Version: 2.10.16
  • Platform Version: webpack5
  • Browser Version: chrome
Copy link

由于缺乏足够的信息(github、stackblitz、codesandbox等可复现仓库),我们暂时关闭了该 Issue。请修改(不要回复) Issue 提供最小重现以重新开启。谢谢。如果只是单独的技术咨询,可移步 https://qiankun.umijs.org/#-community 交流~

@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Aug 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant