Where is angular2-polyfills now that non-beta Angular 2 is packaged as @angular?

前端 未结 3 1646
失恋的感觉
失恋的感觉 2021-02-06 23:46

Now that Angular2 is out of beta (2.0.0-RC.0 and RC.1 came out yesterday/May 3, 2016), all of Angular 2 is packaged for use with NPM under the new @angular namespace. A lot of

3条回答
  •  深忆病人
    2021-02-07 00:42

    There is no more angular2-polyfills.js file. You need to include explicitly ZoneJS and Reflect Metadata libraries (FYI angular2-polyfill contained these two libraries) So you need to include the following:

    
    
    

提交回复
热议问题