Router without changing location

Is it possible (and if yes, how) to use the router without changing window.location? I need to integrate an Aurelia app into an existing app and don’t want to mess with the location.

I think by default Aurelia doesn’t do anything to your URL if you don’t have redirect.

If you don’t use push state:
Maybe do a delegate click handler and ignore all the call from <a/> tags.

If you use push state:
You can add router-ignore attribute to all anchor tags inside your Aurelia app to disable routing or disable the link handler.

No, I don’t think this is possible. It’s something we’ve specced for vNext.

Your best bet is to use a element and load “routes” into that compose.

Thanks @davismj, really looking forward to vNext (not just because of this feature). Will try to go with self-made “routing” then.