When to use @angular tags in Angular 2? [duplicate]

杀马特。学长 韩版系。学妹 提交于 2019-12-01 14:14:00
Thierry Templier

@angular is for RC (release candidate) versions and angular2 for beta versions.

In RC versions, for example, angular2/core becomes @angular/core. You can also notice that the SystemJS configuration is different since you don't have bundled JS files.

Now you need to configure Angular2 modules into map and packages blocks of your SystemJS configuration. See this link for more details:

This is new for Angular2 versions after beta.x, and therefore => Angular2 RC.0

Versions <= Angular2 beta.x use angular2

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!