Failed: Template parse errors:
Can't bind to 'routerLink' since it isn't a known property of 'a'. ("nd">
<img width="25" src="../assets/images/app_logo.jpg">
<a class="navbar-brand" [ERROR ->][routerLink]="['/avior/dashboard']"> === Application ===</a>
</a>
"): ng:///DynamicTestModule/AppComponent.html@7:27
...
The same error goes over and over again...
I tried importing RouterModule into app.component.ts, but it does not seem to help. I also imported it into every .ts file where the routerLink is used but that didn't help either.
Aucun commentaire:
Enregistrer un commentaire