Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

set nav link active on the basis of route laravel 8

<li class="{{ (request()->is('admin/cities*')) ? 'active' : '' }}">  
Source by quickadminpanel.com #
 
PREVIOUS NEXT
Tagged: #set #nav #link #active #basis #route #laravel
ADD COMMENT
Topic
Name
3+1 =