You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
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下,导致子应用运行报错,这种如何处理The text was updated successfully, but these errors were encountered: