The Aurelia router maps a route the the hash
.
http://subdomain.hostname.tld/pathA/pathB/pathC?queryKey=queryValue#hash
How can we define an Aurelia route based on the pathA/pathB/pathC
value instead?
The Aurelia router maps a route the the hash
.
http://subdomain.hostname.tld/pathA/pathB/pathC?queryKey=queryValue#hash
How can we define an Aurelia route based on the pathA/pathB/pathC
value instead?
Here's an example from the docs. But in order the #hash to work you'll need to specify config.options.hashChange as false:
The important lines for your purpose are these two:
You can set up Push State. This is discussed in our docs here: http://aurelia.io/hub.html#/doc/article/aurelia/router/latest/router-configuration/2