
Brayan Piñeros Bolivar
Preguntahola a todos
tengo este error
Me pueden ayudar
src/app/app.component.ts:6:16
6 templateUrl: ‘<router-outlet>></router-outlet>’,
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Error occurs in the template of component AppComponent.
Error: src/app/<router-outlet>></router-outlet>:6:2 - error NG5002: Unexpected character “EOF” (Do you have an unescaped “{” in your template? Use “{{ ‘{’ }}”) to escape it.)
6 ;
src/app/app.component.ts:6:16
6 templateUrl: ‘<router-outlet>></router-outlet>’,
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Error occurs in the template of component AppComponent.
Error: src/app/products/products.component.html:5:29 - error TS2339: Property ‘products’ does not exist on type ‘ProductsComponent’.
5 *ngFor=“let product of products”
~~~~~~~~
src/app/products/products.component.ts:7:16
7 templateUrl: ‘./products.component.html’,
~~~~~~~~~~~~~~~~~~~~~~~~~~~
Error occurs in the template of component ProductsComponent.