Answers for "set nav link active on the basis of route 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

Code answers related to "set nav link active on the basis of route laravel"

Browse Popular Code Answers by Language