We are building an application using multiple single-page apps to keep things small, but run into a problem of building links between pages.
Let's say we have to pages equipment.html and maintenance.html
Both are independent SPA apps each with their own client side roting tables Right now we have client side routing with page.js using #!
On the equipment page we place a link
<a href="/maintenance.html#!/show/350">Show Maintenance</a>
Hovering over the link shows http://localhost/maintenance.html#!/show/350 but when we click on the links it goes to http://localhost/equipment.html#!/maintenance.html#!/show/350 which does not take us anywhere. Now, clicking second time on the link takes us to the right page. Any way to solve this?
Thanks