I have this plunker , with a small angular2 example, If you open the Chrome console, you will see my error.
Error: ArticleComponent is not defined(…)Zone.run @ angular2-polyfills.js:1243
What happens with my code?
Somthing more, Why my style is not resolved?
Can somebody help to resolve this?
Thanks
我绝对不知道任何Angular 2(除了一些有趣的教程),但是如果您在component1.ts
第43行中export class ArticleComponent
(而不是仅定义类),那似乎就可以了:-)
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.