Plunkr:测试 Angular 2 Final Plunk 不工作

Plunkr: Test Angular 2 Final Plunk Not working

谁能告诉我为什么我使用的 Angular 2 Final Test Plunk (https://plnkr.co/edit/JY0hcFdaziIsFFJmRaz3?p=preview) 不起作用?

我在控制台上收到此错误:

Refused to display 'https://run.plnkr.co/QdUdeWWKa25MFN9V/' in a frame because it set 'X-Frame-Options' to 'SAMEORIGIN'.
https://run.plnkr.co/QdUdeWWKa25MFN9V/ Failed to load resource: the server responded with a status of 522 ()

问题很少,

1) app.component 应该在 app 文件夹中
2) app.module 文件应该在 app 文件夹中
3) 在 systemjs.config.js 文件中,需要 rxjs 库 引用。
4) 从 imports:[BrowserModule,...]

中移除 routing

工作演示:https://plnkr.co/edit/ONGeKcu0sVfQqR7gpHZY?p=preview

'rxjs':  'npm:rxjs',