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

后端 未结 13 1532
耶瑟儿~
耶瑟儿~ 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

    0 讨论(0)
提交回复
热议问题