Exception: Can't bind to 'ngFor' since it isn't a known native property

后端 未结 13 1581
耶瑟儿~
耶瑟儿~ 2020-12-12 16:35

What am I doing wrong?

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

@Component({
  selector: \'conf-talks\',
  template: `
13条回答
  •  無奈伤痛
    2020-12-12 17:37

    Just to cover one more case when I was getting the same error and the reason was using in instead of of in iterator

    Wrong way let file in files

    Correct way let file of files

提交回复
热议问题