Replies: 1 comment
-
@wowblvck I believe answer to this question has been resolved here #15185 (comment) |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have a host application that has an iframe embedded into it. The host application is running at: localhost:8888, the iframe application is localhost:5173. Used framework React and React Router Dom in both applications. I want the host and iframe to operate on a single domain (so the iframe can access its parent via window.top). The host has the following settings:
vite.config.js
Connect iframe
react-router in iframe:
For some reason, the configurator itself gets inside the iframe (in the 'root' element), and not the iframe.
Beta Was this translation helpful? Give feedback.
All reactions