after looking into this it seems that if we prefix iframe url like i typedin https://localhost:5173/#! and then when you navigate to another page in adminUI, then adminUI changes it to https://localhost:5173/new-path?token=xyz#! and so it works locally but it will not work current netlify so, even if i let adminUI do this https://localhost:5173/#!/new-path this just opens up the root route of the site as you can see here this will open up homepage instead of test page : https://hydra-vue-f7.netlify.app/#!/test
So current navigation in iframe works like this: after navigating to another page in iframe,
hydrajs detects any changes in href of the window i.e. it checks if pathname is changed or not and also if hash is changed or not.
then sends the new path to adminUI and adminUI routes to this path (but doesn't change the iframe src which saves us from the extra reloads.
fixes #124
after looking into this it seems that if we prefix iframe url like i typedin
https://localhost:5173/#!
and then when you navigate to another page in adminUI, then adminUI changes it tohttps://localhost:5173/new-path?token=xyz#!
and so it works locally but it will not work current netlify so, even if i let adminUI do thishttps://localhost:5173/#!/new-path
this just opens up the root route of the site as you can see here this will open up homepage instead of test page : https://hydra-vue-f7.netlify.app/#!/testSo current navigation in iframe works like this: after navigating to another page in iframe,