Orasund / elm-ui-widgets

Collection of reusable views for elm-ui.
https://orasund.github.io/elm-ui-widgets/
BSD 3-Clause "New" or "Revised" License
85 stars 11 forks source link

UrlChange in Explorer not working #66

Closed Orasund closed 3 years ago

Orasund commented 3 years ago

@cdevienne Changing the Url and then updating the page will result in an 500 Error. On localhost there are workarounds for it, but on Github.io this behaviour can't be changed (I've seen this problem pop up before). I like to have links that I can reference in the documentation.

I therefore suggest changing the path from /Button to ?page=Button.

cdevienne commented 3 years ago

I am conflicted about this, I really prefer clean urls. But the hosting issue is a serious reason for a workaround. https://github.com/rafgraph/spa-github-pages might be an option, if not your solution is the way to go.

Orasund commented 3 years ago

That works!