Hi! I am trying to use DefaultWebHistoryController...
# decompose
c
Hi! I am trying to use DefaultWebHistoryController() with wasm. I managed to implement navigation with buttons, but when I try to reload the page, I get the following error:
Copy code
Cannot GET /login //same with other pages
I am not sure what can be the problem.
a
Does it work without DefaultWebHistoryController?
c
Yes
a
It looks like you might be setup your dev server incorrectly or something.
You can check with the official sample. It doesn't have WASM, but it does have the regular JS app.
Basically you should be able to open a deep link at least without crashes. Like https://localhost/login
c
I found the problem. The webpack.config.d folder was in the wrong directory. Thanks for the help!
a
Awesome!