Welcome to ShenZhenJia Knowledge Sharing Community for programmer and developer-Open, Learning and Share
menu search
person
Welcome To Ask or Share your Answers For Others

Categories

集成qiankun 微应用请求js路径有问题。
子应用可以加载路由js
publicPath 填写的是绝对路径。带ur
主项目localhost:8081:main
直接请求的子项目地址localhost:8081:example 这个请求路由js地址正确localhost:8081:example/xxxx.js
然后在主项目中切换到子应用localhost:8081:/main/example
请求js地址localhost:8081:/xxxx.js 这个路由地址失败。


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
2.4k views
Welcome To Ask or Share your Answers For Others

1 Answer

等待大神解答

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
Welcome to ShenZhenJia Knowledge Sharing Community for programmer and developer-Open, Learning and Share
...