[英]Angular2 latest modules
I just started a new Sails + Angular2 project, and I pretty much wrapped the modules configuration (in the package.jso file) the those I saw in a tutorial. 我刚刚启动了一个新的Sails + Angular2项目,并且将模块配置(在package.jso文件中)包装了我在教程中看到的那些配置。
But they were different then those I found in the latest tutorial by Google (the heros tutorial). 但是它们与我在Google的最新教程(英雄教程)中发现的有所不同。 When I put the deps from the tutorial, I got some errors with npm install (which I should solve myself, it is not the issue of the question).
当我将本教程中的deps放进去时,我在npm install上遇到了一些错误(我应该自己解决,这不是问题的问题)。
There's always this delta, and I can't track the latest and the most "up to date" modules. 总是存在此增量,因此我无法跟踪最新和最“最新”的模块。 I tried to look into the documentation, and if it's there- I probably missed it.
我试图查看文档,如果有的话,我可能错过了。
Is there any source of date which states the latest and tested (not RC) version of the basic modules (angular/common, angular/compiler, angular/core, angular/forms, angular/http, angular/platform-browser, angular/platform-browser-dynamic, angular/router, angular/upgrade)? 是否有日期来源说明基本模块的最新版本和经过测试的(非RC)版本(角度/通用,角度/编译器,角度/核心,角度/形式,角度/ http,角度/平台浏览器,角度/平台浏览器动态,角度/路由器,角度/升级)?
You can check the github page: 您可以检查github页面:
https://github.com/angular/angular https://github.com/angular/angular
At the time of writing, the latest version is 2.3.0
. 在撰写本文时,最新版本为
2.3.0
。
You can also check https://angular.io/docs/ts/latest/ and it will say the same (most of the time). 您还可以检查https://angular.io/docs/ts/latest/ ,它会说相同的(大多数情况下)。
For the @angular/router
package they use a slightly different version, because they rewrote the entire package halfway through. 对于
@angular/router
软件包,它们使用的版本略有不同,因为它们在整个过程中重写了整个软件包。 So when the version is 2.3.0
of the other modules, the router is at 3.3.0
因此,当其他模块的版本为
2.3.0
时,路由器的版本为3.3.0
"@angular/common": "2.3.0",
"@angular/compiler": "2.3.0",
"@angular/core": "2.3.0",
"@angular/forms": "2.3.0",
"@angular/http": "2.3.0",
"@angular/platform-browser": "2.3.0",
"@angular/platform-browser-dynamic": "2.3.0",
"@angular/router": "3.3.0"
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.