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

entry,开发环境正常,生产环境失效,无法打开微应用 #3012

Open
ltf-space opened this issue Sep 27, 2024 · 1 comment
Open

Comments

@ltf-space
Copy link

What happens?

主应用vue2.6.11,微应用vue2.6.11,qiankun2.10.16,开发环境下,主应用可正常打开路由下的微应用页面,相关配置如下
image

image entry为本地地址正常,生产地址出现打不开问题,下图打不开 image

微应用vue.config.js下图
image

最小可复现仓库

为节约大家的时间,无复现步骤的 ISSUE 会被关闭,提供之后再 REOPEN

复现步骤,错误日志以及相关配置

相关环境信息

  • qiankun 版本
  • 浏览器版本
  • 操作系统
@ltf-space
Copy link
Author

解决了,原因是主应用配置的entry没有配二级域名

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