nav active in laravel

Solutions on MaxInterview for nav active in laravel by the best coders in the world

showing results for - "nav active in laravel"
Klara
11 Oct 2018
1// check using uri
2<li class="{{ request()->is('sites/*/edit') ? 'active' : '' }}"
3 // or, check using route name
4<li class="{{ request()->routeIs('sites/*/edit') ? 'active' : '' }}"
5  // or, using segment
6<li class="{{ (request()->segment(2) == 'cities') ? 'active' : '' }}"> 
Tommaso
21 Mar 2018
1//  check using route name
2<li class="{{ request()->routeIs('city/create') ? 'active' : '' }}"
queries leading to this page
setting active class for menu items dynamically in laravellaravel add active class to active menularavel active class navbarlaravel active class menunav active in laravelactive menu in laravelnavigation active inn laraveldifferent ways to make active menu in laravelhow to set active menu in laravellaravel menu active statelaravel nav activelaravel add active class to menularavel blade menu active itemlaravel menu active classhow to active menu with parameters in laravel8set navbar item active in layout laravelshow active menu in laravellaravel set active navlaravel active menu routelaravel navigation menu activelaravel menu activeactive menu laravel bladelaravel set menu activeactive menu laravel 8 cssmake menu active laravellaravel active menu itemnav item active laravelnavigation active inn laravel 7menu active class add in laravelcheck active menu laravellaravel active menu classactive menu in laravel bladeactive menu in laravel frontendactive menu laravel cssactive menu and submenu laravel 8 laravel menu show activelaravel 8 active class menularavel set active menularavel active menu item bootstrapmenu active laravelclass active menu laravelactive menu laravellaravel menu active deactaivelaravel active menu linkmenu active in laravellaravel active menularavel menu active nameshow active menu in dynamic laravellaravel nav item active larave make menu item activehow to active menu in laravellaravel blade set menu activehow to make menu active in laravellaravel set nav activeset active menu laravelhow to add active class in menu in laravellaravel check active menuhow to active menu in laravel 8nav item active laravelnav active in laravel