内容微调
This commit is contained in:
parent
632d15710c
commit
9a2dfde114
|
@ -122,8 +122,8 @@
|
|||
},
|
||||
|
||||
"deployment": {
|
||||
"title": "Deployment",
|
||||
"intro": "Learn how to deploy your Angular app."
|
||||
"title": "部署",
|
||||
"intro": "如何部署Angular应用。"
|
||||
},
|
||||
|
||||
"hierarchical-dependency-injection": {
|
||||
|
@ -133,8 +133,8 @@
|
|||
},
|
||||
|
||||
"reactive-forms": {
|
||||
"title": "Reactive Forms",
|
||||
"intro": "Create a reactive form using FormBuilder, groups, and arrays."
|
||||
"title": "响应式表单",
|
||||
"intro": "使用FormBuilder、组合数组创建响应式表单。"
|
||||
},
|
||||
|
||||
"server-communication": {
|
||||
|
|
|
@ -5,7 +5,7 @@ block includes
|
|||
Angular is a framework for building client applications in HTML and
|
||||
either JavaScript or a language like TypeScript that compiles to JavaScript.
|
||||
|
||||
Angular 是一个用 HTML 和 JavaScript 或者一个可以编译成 JavaScript 的语言(例如 Dart 或者 TypeScript ),来构建客户端应用的框架。The framework consists of several libraries, some of them core and some optional.
|
||||
Angular 是一个用 HTML 和 JavaScript 或者一个可以编译成 JavaScript 的语言(例如 Dart 或者 TypeScript ),来构建客户端应用的框架。
|
||||
|
||||
The framework consists of several libraries, some of them core and some optional.
|
||||
|
||||
|
@ -74,7 +74,7 @@ figure
|
|||
|
||||
Learn these building blocks, and you're on your way.
|
||||
|
||||
掌握了这些构造块,你就可以下山了!
|
||||
掌握了这些构造块,你就可以出师了!
|
||||
|
||||
.l-sub-section
|
||||
p The code referenced on this page is available as a <live-example></live-example>.
|
||||
|
@ -266,7 +266,7 @@ figure
|
|||
It's easy to confuse the two systems because they share the common vocabulary of "imports" and "exports".
|
||||
Hang in there. The confusion yields to clarity with time and experience.
|
||||
|
||||
这两个系统比较容易混淆,因为它们共享相同的词汇 “imports” 和 “exports”。先放一放,随着时间和经验的增长,自然就会清楚了。
|
||||
这两个系统比较容易混淆,因为它们共享相同的词汇 “imports” 和 “exports”。不过没关系,先放一放,随着时间和经验的增长,自然就清楚了。
|
||||
|
||||
.l-sub-section
|
||||
:marked
|
||||
|
|
|
@ -11,7 +11,7 @@ figure
|
|||
|
||||
每个人的学习方式不一样。
|
||||
你不一定要通读文档。本站大部分页面都是独立的。
|
||||
Angular 初学者可能希望跟随下面流行的学习路径。
|
||||
Angular 初学者可能希望跟随下面的常见学习路径。
|
||||
|
||||
<br class="l-clear-left">
|
||||
|
||||
|
|
|
@ -62,6 +62,8 @@ code-example(language="sh" class="code-shell").
|
|||
:marked
|
||||
`npm start` fails in _Bash for Windows_ which does not support networking to servers as of January, 2017.
|
||||
|
||||
在*Bash for Windows*中`npm start`可能会失败,因为到2017-01为止它还不支持访问网络上的服务器。
|
||||
|
||||
a#download
|
||||
:marked
|
||||
### Download
|
||||
|
@ -83,6 +85,8 @@ code-example(language="sh" class="code-shell").
|
|||
:marked
|
||||
`npm start` fails in _Bash for Windows_ which does not support networking to servers as of January, 2017.
|
||||
|
||||
在*Bash for Windows*中`npm start`可能会失败,因为到2017-01为止它还不支持访问网络上的服务器。
|
||||
|
||||
a#non-essential
|
||||
.l-main-section
|
||||
:marked
|
||||
|
@ -108,6 +112,7 @@ a#non-essential
|
|||
在项目目录下打开一个终端窗口,并根据你的操作系统执行以下命令:
|
||||
|
||||
### OS/X (bash)
|
||||
|
||||
code-example(language="sh" class="code-shell").
|
||||
xargs rm -rf < non-essential-files.osx.txt
|
||||
rm src/app/*.spec*.ts
|
||||
|
@ -115,6 +120,7 @@ code-example(language="sh" class="code-shell").
|
|||
|
||||
:marked
|
||||
### Windows
|
||||
|
||||
code-example(language="sh" class="code-shell").
|
||||
for /f %i in (non-essential-files.txt) do del %i /F /S /Q
|
||||
rd .git /s /q
|
||||
|
|
Loading…
Reference in New Issue