Answers for "only one url as active laravel menu"

PHP
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