Angular exception: Can't bind to 'ngForIn' since it isn't a known native property

前端 未结 9 2348
说谎
说谎 2020-11-30 21:15

What am I doing wrong?

import {bootstrap, Component} from \'angular2/angular2\'

@Component({
  selector: \'conf-talks         


        
9条回答
  •  暖寄归人
    2020-11-30 21:39

    My problem was, that Visual Studio somehow automatically lowercased *ngFor to *ngfor on copy&paste.

提交回复
热议问题