<button color="dark" fill="outline" [routerLink]="['/home']" size="medium"
>Click here to add some</button>
how should I pass replace URL option just like we do in the TS file
await this.router.navigate(['/profile'], { replaceUrl: true });
I found it myself by seeing type file of angular routing :) here is how I do it
<button color="dark" fill="outline" replaceUrl="true" routerLink="['/home']" size="medium"
>Click here to add some</button>
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With