I have an elm 0.18 app that uses the Navigation module. I navigate within it using links that look like [ a [ href "/#/page" ] [ text "Page" ]
, and do redirects with Navigation.newUrl myNewUrl
.
When I fire up elm-reactor, though, everything is coming from the location http://localhost:8000/src/main.elm/
, and clicking the link above takes me to http://localhost:8000/#/page
. This works fine with my webpack code, but it sends me back to the main page for elm-reactor.
What is the correct way to navigate different pages within an elm app and continue using elm-reactor?