Currently, I have fully workable react application with react-router, redux and other stuff. Now, I need to embed my application into any other web app
I'm using BrowserRouter at the moment. I found solution how to embed application, but it routing works wrong, because it expects the following URL: https://my-app.com/home But actual URL is: https://other-awesome-app/apps
The question is: How to handle routing of existing(embedded) react app?
您可以使用iframe将您的react-app嵌入到另一个Web应用程序中,然后您可以将其设置为选择父级网页的URL路由!
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.