Replies: 2 comments 1 reply
-
Depending on your route names you may already be able to do this. |
Beta Was this translation helpful? Give feedback.
1 reply
-
Is it possible to do this with routes with different prefixes? In Laravel you can do something like this |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Description
It would be nice to be able to check multiple routes in
route().current()
.I sometimes have a nav hierarchy and would like the top node to be "active" when a child is active.
Suggestion
route().current(['page1', 'page2', 'page3']);
Alternatives
Beta Was this translation helpful? Give feedback.
All reactions