Css – How to style an active router link in Angular when the route is passed as a prop?
I have a component that is a item in side navbar: <div class="flex gap-5 justify-left items-center text-center pl-5 group hover:cursor-pointer m-3 backdrop-blur-md" [routerLink]="route" > <ng-icon class="text-3xl group-hover:text-cyan-600 transition-all duration-300" [name]="icon" ></ng-icon> <p class="text-xl font-bold group-hover:text-cyan-600 transition-all duration-300" routerLinkActive="active-link" > {{…