Getting Aurelia To Work With HTML5 pushState

added by Robert Greyling
3/25/2015 12:00:00 AM


Recently in Aurelia I ran into a peculiar issue using the bundled Browser Sync Gulp task for deploying a test server. When visiting a parameterised URL the paths to the System packages would break. It turns out by default the paths are set in a way they will add onto the current URL instead of referencing the root “/” as the base path.