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

Categories

0 votes
2.4k views
in Technique[技术] by (71.8m points)

vue 懒加载请求地址错误

集成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 这个路由地址失败。


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)
等待大神解答

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

2.1m questions

2.1m answers

60 comments

57.0k users

...