This repository has been archived by the owner on Feb 26, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 135
Is there something like we know as .otherwise()
in the new router?
#110
Labels
Milestone
Comments
+1 |
3 similar comments
+1 |
+1 |
+1 |
There is. Try
|
👍 If it's working, it would be nice to write about it in the documentation. |
There's documentation?? |
You got a point there @amritk ! |
It works, Thank you for your response @amritk ! |
@chainlist @lejogacav you think you could help me out? How do you grab parameters?
Now how would you grab :param in the controller? I don't think routeParams works with the component router. |
@iksose Thanks. So you need a lifecycle hook to get the parameters? |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
While it is pretty clear, how to force a redirect from one path to another path like this:
I wonder if there's also a way to map any path, that doesn't match any specific configuration, to a defined component/path. So basically the equivalent of:
Is there something like this in the new router or at least planned?
The text was updated successfully, but these errors were encountered: