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

前端 未结 9 2333
说谎
说谎 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

    Try to import import { CommonModule } from '@angular/common'; in angular final as *ngFor ,*ngIf all are present in CommonModule

提交回复
热议问题