laravel 7 active nav link code example
Example: set nav link active on the basis of route laravel 8
<li class="{{ (request()->is('admin/cities*')) ? 'active' : '' }}">
<li class="{{ (request()->is('admin/cities*')) ? 'active' : '' }}">