Polish setup.jade (round 2)
This commit is contained in:
parent
4f1ac69d6d
commit
69a1dbb993
|
@ -1,6 +1,7 @@
|
|||
block includes
|
||||
include ../_util-fns
|
||||
- var _prereq = 'node and npm';
|
||||
- var _prereq_cn = 'node 和 npm';
|
||||
- var _playground = 'playground';
|
||||
- var _Install = 'Install';
|
||||
//- npm commands
|
||||
|
@ -23,7 +24,6 @@ a#develop-locally
|
|||
你应该在自己的电脑上[本地开发](#why-locally "为什么在本地开发?")... 你也应该在本地环境学习 Angular。
|
||||
</span>
|
||||
|
||||
|
||||
Setting up a new project on your machine is quick and easy with the **QuickStart seed**,
|
||||
maintained [on github](!{_qsRepo} "Install the github QuickStart repo").
|
||||
|
||||
|
@ -32,7 +32,7 @@ a#develop-locally
|
|||
Make sure you have [!{_prereq} installed](#install-prerequisites "What if you don't have !{_prereq}?").
|
||||
Then ...
|
||||
|
||||
确定你已经安装了[!{_prereq}](#install-prerequisites "如果你没有 !{_prereq} ?"),然后:
|
||||
确定你已经安装了 [!{_prereq_cn}](#install-prerequisites "如果你没有 !{_prereq_cn}?"),然后:
|
||||
|
||||
1. Create a project folder (you can call it `quickstart` and rename it later).
|
||||
|
||||
|
@ -109,7 +109,7 @@ block core-files
|
|||
:marked
|
||||
Focus on the following three TypeScript (`.ts`) files in the **`/app`** folder.
|
||||
|
||||
注意**`/app`**目录里的下列三个 TypeScript (`.ts`) 文件:
|
||||
注意**`/app`**目录中以下三个 TypeScript (`.ts`) 文件:
|
||||
.filetree
|
||||
.file app
|
||||
.children
|
||||
|
@ -138,15 +138,11 @@ table(width="100%")
|
|||
col(width="80%")
|
||||
tr
|
||||
th
|
||||
:marked
|
||||
File
|
||||
|
||||
文件
|
||||
p File
|
||||
p 文件
|
||||
th
|
||||
:marked
|
||||
Purpose
|
||||
|
||||
用途
|
||||
p Purpose
|
||||
p 用途
|
||||
tr
|
||||
td <ngio-ex>app.component.ts</ngio-ex>
|
||||
td
|
||||
|
@ -265,19 +261,19 @@ block install-tooling
|
|||
|
||||
* you can't ship your app in plunker
|
||||
|
||||
* 你不能在 plunker 里面发布你的应用
|
||||
你不能在 plunker 里面发布你的应用
|
||||
|
||||
* you aren't always online when writing code
|
||||
|
||||
* 编程时你不可能总是在线
|
||||
编程时你不可能总是在线
|
||||
|
||||
* transpiling TypeScript in the browser is slow
|
||||
|
||||
* 在浏览器中编译 TypeScript 很慢
|
||||
在浏览器中编译 TypeScript 很慢
|
||||
|
||||
* the type support, refactoring, and code completion only work in your local IDE
|
||||
|
||||
* 只有本地IDE有类型支持、代码重构和代码自动完成
|
||||
只有本地 IDE 有类型支持、代码重构和代码自动完成
|
||||
|
||||
Use the <live-example><i>live coding</i></live-example> environment as a _playground_,
|
||||
a place to try the documentation samples and experiment on your own.
|
||||
|
|
Loading…
Reference in New Issue