Skip to content
Discussion options

You must be logged in to vote

Hey there ✋🏻 .

Unfortunately there was an attempt to introduce this blade directive, but it was rejected.

You could try using the current approach thought:

<input class="@if(request()->routeIs('route.name')) active @endif">

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by bikify
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Ideas
Labels
None yet
2 participants