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

vue2子应用挂载成功,但内容没显示 replaced by import-html-entry #2634

Closed
jieyuming opened this issue Aug 24, 2023 · 1 comment
Closed
Labels
question Further information is requested

Comments

@jieyuming
Copy link

image
主应用加载子应用,发现HTML元素里面显示:

我的子应用html内容如下:
image
看到有开发者的另一个bug,是d.ts浏览器加载不了,但我这个是js

乾坤版本: 2.7
子应用技术站,webpack3 + vue2
请教一下大神们

@gongshun
Copy link
Collaborator

子应用已经加载了,你可以在app.vue里面写点内容,就可以看到了,至于子应用没啥没有加载任何路由,可能是

  1. 子应用路由base设置错了
  2. 当前页面的 ur l不正确(导致子应用未匹配到路由)

@kuitos kuitos added the question Further information is requested label Aug 28, 2023
@kuitos kuitos closed this as completed Aug 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

3 participants