I would like to ask you about developing a management system for H5 games. I want to synchronize the content of the page elements in the iframe in real time when inputting content in the background. I would like to know what technology can be used to achieve this? Can vue and angular achieve this?
The effect is as follows:
parent.html
child.html
Or pass the vuex store to use the same store for the vue instances of the two pages
If you use iframe, you can only use websocket to notify of updates. The two-way data of vue and ag can only be updated in real time on the same page
iframe is cross-page. It is extremely unsafe and impossible for others to use ng or vue to operate your page.
You can try postMessage.