aurelia / framework

The Aurelia 1 framework entry point, bringing together all the required sub-modules of Aurelia.
MIT License
11.75k stars 623 forks source link

PushState bug if aurelia is used in a subdirectory #793

Closed sklinger closed 6 years ago

sklinger commented 7 years ago

I'm submitting a bug report

Please tell us about your environment:

Current behavior: When using aurelia in a sub-directory with activated pushState:

Expected/desired behavior:


I created a small test project and a stack overflow question for the problem already: https://github.com/sklinger/aurelia-minimal-webpack https://stackoverflow.com/q/44586245/21566

EisenbergEffect commented 7 years ago

Are you setting the router's root and the browser's base element?

sklinger commented 7 years ago

Browser base element is set to <base href="/client-app"/>. App router is set to config.options.root = "/client-app/";

davismj commented 6 years ago

@EisenbergEffect this can be closed as a dupe