-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Router/Routing can't handle enter url from address bar or pressing refresh button #771
Comments
@hgzimmerman do you mind looking into this? |
This is expected behavior. Either you need to prepend all routes with a Using I think the router example can be removed from this project given that a dedicated crate exists for routing. |
thanks @hgzimmerman i finally got it working with # btw i was not able to get the tag response to the change of route by following the sample in example/router_compoent folder, so i am using this |
I think that this can be closed now, given that an example server exists in the router repo, and that better support for fragment routing is planned. The question author appears to have come to a suitable solution. |
I still 404 after click browser refresh ...
|
tried running the Routing example, it will return error Cannot GET /a if you enter the URL http://localhost:8000/a manually.
how to handle this if user copied/bookmarked the url and trying to return to this page?
The text was updated successfully, but these errors were encountered: