Answers for "if route active laravel"

PHP
0

set nav link active on the basis of route laravel

<li class="{{ (request()->is('admin/cities*')) ? 'active' : '' }}">
Posted by: Guest on December-03-2020
1

laravel sidebar menu active

{{  request()->routeIs('news.*') ? 'active' : '' }}
Posted by: Guest on August-16-2020

Browse Popular Code Answers by Language