set nav link active on the basis of route laravel 8

159

set nav link active on the basis of route laravel 8 -

<li class="{{ (request()->is('admin/cities*')) ? 'active' : '' }}">  

Comments

Submit
0 Comments