@angular/platform-browser 与 @angular/platform-browser-dynamic [英] @angular/platform-browser vs. @angular/platform-browser-dynamic
问题描述
在较新的示例(种子、angular.io、..)中,引导过程还有另一个导入:@angular/platform-browser-dynamic
.
In the newer examples (seeds, angular.io,..) there is an another import for the bootstrapping process: @angular/platform-browser-dynamic
.
谁能解释一下,它和@angular/platform-browser
有什么区别?
Could someone explain, what are the differences between it and @angular/platform-browser
?
angular.io 官方网站上还没有信息.
There is no information on the official angular.io website yet.
推荐答案
如果您仔细查看 angular2 的历史,您会发现有两个版本 1) 测试版 2) 发布候选版本.目前是 r.c 3(发布候选 3).发布候选版本是指在最终发布之前发布错误修复版本.因此,当 angular2 从 beta 版本移动到第一个发布候选版本(rc1)时,它会进行一些目录更改......例如
If you look closely at the history of the angular2 then you will find there are two version 1) beta version 2) release candidate version. At present it is r.c 3 (release candidate 3). Release candidate version means bug fix releases before the final release. So when angular2 moves to first release candidate version(rc1) from beta version then it make some directory change... for example
angular2/core---->@angular/core
angular2/platform/browser------>@angular/platform-browser-dynamic
我在这里添加了一个快照
I add a snape here
更多信息请访问
https://github.com/angular/angular/blob/master/CHANGELOG.md
我希望你能找到答案.谢谢
i Hope you will find your answer. Thanks
这篇关于@angular/platform-browser 与 @angular/platform-browser-dynamic的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!