Angular 冲击:测试角度2最终冲击不工作
有人能告诉我为什么我使用的Angular 2最终测试Plunk()不起作用吗 我在控制台上遇到此错误:Angular 冲击:测试角度2最终冲击不工作,angular,plunker,Angular,Plunker,有人能告诉我为什么我使用的Angular 2最终测试Plunk()不起作用吗 我在控制台上遇到此错误: 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 re
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) 应用程序模块文件应位于应用程序文件夹中
3) 在systemjs.config.js文件中,需要参考rxjs库。
4) 已从导入:[BrowserModule,…]中删除
路由
工作演示:
另一个原因是,Plunker的运行服务器最近承受着前所未有的负载,并且受到间歇性停机的影响。自那以后,它的规模扩大了,表现更好。
'rxjs': 'npm:rxjs',