Chiggidy check it:
New Livewire directive I cooked up this morning: wire:current
Super clean way to slap some Tailwind on a link that matches the current URL
(works with wire:navigate and @ persist and what not obv)
Dig it: https://livewire.laravel.com/docs/wire-current
New Livewire directive I cooked up this morning: wire:current
Super clean way to slap some Tailwind on a link that matches the current URL
(works with wire:navigate and @ persist and what not obv)
Dig it: https://livewire.laravel.com/docs/wire-current
Comments
It’s little developer ergonomics things like this that set your work apart.
How difficult would it be to slap the wire:current directive on the parent nav element instead so it just needs to be declared once?