danguilherme / ng-cli-pug-loader

:sparkles: Angular schematics to add .pug to your project
GNU General Public License v3.0
56 stars 17 forks source link

Angular Cli template parse Error on *ngFor #18

Closed longhatdev closed 5 years ago

longhatdev commented 5 years ago

Hi there,

if i use this code .grid.grid-pad a.col-1-4(*ngfor='let hero of heroes') .module.hero h4 {{ hero.name }}

it compiles succesfully, but when i open the browser i get a template parse error image

i found no solution to this issue

thank you

danguilherme commented 5 years ago

I am really not sure, but does it work if you use ngFor (note the capital F)?

longhatdev commented 5 years ago

Hi,

thank you, that helped in the first attempt... did not saw that... should not use that lazy html-to-pug converter in my IDE

so that was not a real issue of your pug-loader, shame on me ;)

beste regards longhat

danguilherme commented 5 years ago

All good! 😁