skip to Main Content

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" > {{…

VIEW QUESTION

Ubuntu – Index page shows properly at chrome browser from “ionic serve” but show “webpage not found” from “ionic cordova run android –device”

While I try to run the app into emulator. net::ERR_CONNECTION_REFUSED exist. I have tried to add cleartextTrafficPermitted in network_security_config.xml. Then, add below code in config.xml but still not work. <preference name="hostname" value="localhost" /> <preference name="AndroidInsecureFileModeEnabled" value="true" /> ionic info: Ionic:…

VIEW QUESTION
Back To Top
Search