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

qiankun微前端 vue主应用和微应用都是hash情况下。路由跳转问题

比如说访问#/app/xx是微应用
这个应用是显示到主应用某个页面里面。
主应用怎么定义路由, 另外 微应用跳转路由后,主应用也会跳转
比如说app/user push 到app.model那么主应用当前路由也会跳转,如果我是绑定了一个vue组件那么这个vue组件会重新渲染。 如果为微前端应用就没有了。


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
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

...