我曾经在工作期间使用Netbeans。现在,我想开始使用Angular2。
我正在关注angular.io的教程。我创建了带有内容的模板HTML文件(仅相关行):
<div *ngFor="let hero of heroes" (click)="gotoDetail(hero)">
NB向我显示有关*ngFor
和的错误(click)
:
我怎么能告诉NB那是正确的?我已经安装了插件来支持TypeScript。
在测试项目中,我下载了节点包:
c:\proj> npm list --depth=0
[email protected] C:\a2
+-- [email protected]
+-- [email protected]
+-- [email protected]
+-- [email protected]
+-- [email protected]
+-- [email protected]
+-- [email protected]
+-- [email protected]
+-- [email protected]
`-- [email protected]
本文收集自互联网,转载请注明来源。
如有侵权,请联系 [email protected] 删除。
我来说两句