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
1.5k views
in Technique[技术] by (71.8m points)

vue 一个项目集成多个平台

vue多个项目集成到一个平台中, 顶部栏显示项目分类,左侧栏菜单显示当前选中平台的菜单。
不用iframe的情况下, 我想动态直接获取组件文件挂载路由。
我记得有种方式是http请求数据,然后把数据搞成组件,然后在挂载路由的。请问这种方案可以实现吗?


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

1 Answer

0 votes
by (71.8m points)

这个功能其实是前端微服务的套路
可以看看这个解决方案
https://qiankun.umijs.org/zh


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

...