Estou com problemas ao compilar:
Error: src/app/componentes/cabecalho/cabecalho.component.html:16:10 - error NG8002: Can't bind to 'routerLink' since it isn't a known property of 'a'.
16 <a [routerLink]="['']" >Login</a>
~~~~~~~~~~~~~~~~~~~
src/app/componentes/cabecalho/cabecalho.component.ts:7:16
7 templateUrl: './cabecalho.component.html',
~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Error occurs in the template of component CabecalhoComponent.
Error: src/app/componentes/cabecalho/cabecalho.component.ts:10:14 - error NG6002: Appears in the NgModule.imports of AppModule, but could not be resolved to an NgModule class.
Is it missing an @NgModule annotation?
10 export class CabecalhoComponent{
~~~~~~~~~~~~~~~~~~