Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

nav active in laravel

//  check using route name
<li class="{{ request()->routeIs('city/create') ? 'active' : '' }}"
 
PREVIOUS NEXT
Tagged: #nav #active #laravel
ADD COMMENT
Topic
Name
7+4 =