his page is reloading because he is using href: not good.
@jjrobert4 ай бұрын
What steps did you take to get to the project you started with? I have Angular CLI 18.2.0 and I usually do: ng new --standalone false --routing Are there CLI options to add a basic navbar and footer or did you add those manually later?
@elyaquimnattan24004 ай бұрын
Thank you so much, you helped me a lott
@kamleshverma-s2w5 ай бұрын
very helpful, thank you
@jibaro1232 ай бұрын
Hello, pls can yoy share your repo
@balaadithiyan54744 ай бұрын
Thank you so much bro
@Pierro.4 ай бұрын
thannkss helped a lot
@paruidev3 ай бұрын
i think you must use routerLink instead of href😅
@lisadaisy1653 ай бұрын
Yeah completely bypasses the best benefit of Angular routing.
@deleted-u5g2 ай бұрын
Yep, and also the component that is doing the Navigating should import the RouterModule as well (otherwise the routerLink won't work)