翻译完change-log
This commit is contained in:
parent
c8900075a2
commit
2b33a27f85
@ -8,24 +8,48 @@ block includes
|
||||
我们将持续不断的更新和改进Angular文档。本日志记录了近期最重要的变更。
|
||||
|
||||
## Updated to Angular 4.0. Documentation for Angular 2.x can be found at [v2.angular.io](https://v2.angular.io).
|
||||
|
||||
## 更新到 Angular 4.0 。Angular 2.x 的文档在 [v2.angular.io](https://v2.angular.io) 。
|
||||
|
||||
## All mention of moduleId removed. "Component relative paths" cookbook deleted (2017-03-13)
|
||||
|
||||
## 移除了所有的moduleId引用。移除了"组件相对路径" 的烹饪书。(2017-03-13)
|
||||
|
||||
We added a new SystemJS plugin (systemjs-angular-loader.js) to our recommended SystemJS configuration.
|
||||
This plugin dynamically converts "component-relative" paths in templateUrl and styleUrls to "absolute paths" for you.
|
||||
|
||||
我们往建议的SystemJS配置中新增了一个SystemJS插件 (systemjs-angular-loader.js) 。
|
||||
这个插件可以帮你把templateUrl和styleUrls中的组件相对路径动态转换为绝对路径。
|
||||
|
||||
We strongly encourage you to only write component-relative paths.
|
||||
That is the only form of URL discussed in these docs. You no longer need to write @Component({ moduleId: module.id }), nor should you.
|
||||
|
||||
我们强烈建议你只写组件相对路径。
|
||||
这也是本文档中所使用的唯一形式。你不必再写`@Component({ moduleId: module.id })`,而且也不应该再这么写。
|
||||
|
||||
## NEW: Downloadable examples for each guide (2017-02-28)
|
||||
|
||||
## 新增:每篇指南都增加了可下载的范例程序 (2017-02-28)
|
||||
|
||||
Now you can download the sample code for any guide and run it locally.
|
||||
Look for the new download links next to the "live example" links.
|
||||
|
||||
现在你可以为任何一篇指南下载范例程序,并且在本地运行它了。
|
||||
请在"在线例子"的链接后面查找新的下载链接。
|
||||
|
||||
## Template Syntax/Structural Directives: refreshed (2017-02-06)
|
||||
|
||||
## 模板语法/结构型指令:更新了 (2017-02-06)
|
||||
|
||||
The [_Template-Syntax_](template-syntax.html) and [_Structural Directives_](structural-directives.html)
|
||||
guides were significantly revised for clarity, accuracy, and current recommended practices.
|
||||
Discusses `<ng-container>`.
|
||||
Revised samples are more clear and cover all topics discussed.
|
||||
|
||||
对[模板语法](template-syntax.html) 和 [结构型指令](structural-directives.html)这两篇指南做了大幅修改,来让它们更加清晰、准确,并符合当前的最佳实践。
|
||||
讨论了`<ng-container>`。
|
||||
修改了例子,来让它们更清晰,并且覆盖了所有讨论到的主题。
|
||||
|
||||
## NEW: Samples re-structured with `src/` folder (2017-02-02)
|
||||
|
||||
## 新增:调整了范例程序的结构,移到了`src/`文件夹 (2017-02-02)
|
||||
|
Loading…
x
Reference in New Issue
Block a user