Answers for "laravel current navitem"

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
0

laravel bootstrap nav active

{{ Route::currentRouteNamed('about') ? 'active' : '' }}
Posted by: Guest on September-11-2020
1

laravel sidebar menu active

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

Browse Popular Code Answers by Language