review setup
This commit is contained in:
parent
f1896230b2
commit
9e5392c663
|
@ -19,7 +19,7 @@ a#develop-locally
|
||||||
You [should develop locally](#why-locally "Why develop locally") on your own machine ... and that's also how we think you should learn Angular.
|
You [should develop locally](#why-locally "Why develop locally") on your own machine ... and that's also how we think you should learn Angular.
|
||||||
|
|
||||||
<live-example name=quickstart>《快速起步》在线编程</live-example>例子是 Angular 的*游乐场*。
|
<live-example name=quickstart>《快速起步》在线编程</live-example>例子是 Angular 的*游乐场*。
|
||||||
它不是你开发的真实应用的地方。
|
它不是开发真实应用的地方。
|
||||||
你应该在自己的电脑上[本地开发](#why-locally "为什么在本地开发?")... 你也应该在本地环境学习 Angular。
|
你应该在自己的电脑上[本地开发](#why-locally "为什么在本地开发?")... 你也应该在本地环境学习 Angular。
|
||||||
</span>
|
</span>
|
||||||
|
|
||||||
|
@ -27,7 +27,7 @@ a#develop-locally
|
||||||
Setting up a new project on your machine is quick and easy with the **QuickStart seed**,
|
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").
|
maintained [on github](!{_qsRepo} "Install the github QuickStart repo").
|
||||||
|
|
||||||
利用 [github 上](!{_qsRepo} "安装 github 《快速起步》库")的**快速起步种子**在你的电脑上搭建一个新项目是很快很容易的。
|
利用 [github 上](!{_qsRepo} "安装 github 《快速起步》库")的**《快速起步》种子**在你的电脑上搭建一个新项目是很快很容易的。
|
||||||
|
|
||||||
Make sure you have [!{_prereq} installed](#install-prerequisites "What if you don't have !{_prereq}?").
|
Make sure you have [!{_prereq} installed](#install-prerequisites "What if you don't have !{_prereq}?").
|
||||||
Then ...
|
Then ...
|
||||||
|
@ -44,7 +44,7 @@ a#develop-locally
|
||||||
|
|
||||||
1. !{_Install} [!{_npm}](#install-prerequisites "What if you don't have !{_prereq}?") packages.
|
1. !{_Install} [!{_npm}](#install-prerequisites "What if you don't have !{_prereq}?") packages.
|
||||||
|
|
||||||
安装[!{_npm}](#install-prerequisites "如果你没有 !{_prereq} ?") 包。
|
安装 [!{_npm}](#install-prerequisites "如果你没有 !{_prereq} ?") 包。
|
||||||
|
|
||||||
1. Run `!{_npm} !{_start}` to launch the sample application.
|
1. Run `!{_npm} !{_start}` to launch the sample application.
|
||||||
|
|
||||||
|
@ -95,7 +95,7 @@ block qs-seed
|
||||||
and even has <live-example>its own _playground_</live-example>
|
and even has <live-example>its own _playground_</live-example>
|
||||||
that accomodates development of richer examples in a live coding environment.
|
that accomodates development of richer examples in a live coding environment.
|
||||||
|
|
||||||
**《快速起步》种子** 包含了与《快速起步》游乐场一样的应用,并且它还有<live-example>自己的*游乐场*</live-example>,
|
**《快速起步》种子** 包含了与《快速起步》游乐场一样的应用。该应用有<live-example>自己的*游乐场*</live-example>,
|
||||||
用来在在线编程的环境里开发更丰富例子。
|
用来在在线编程的环境里开发更丰富例子。
|
||||||
|
|
||||||
But it's true purpose is to provide a solid foundation for _local_ development.
|
But it's true purpose is to provide a solid foundation for _local_ development.
|
||||||
|
@ -130,7 +130,7 @@ block core-files
|
||||||
:marked
|
:marked
|
||||||
All guides and cookbooks have _at least these core files_. Each file has a distinct purpose and evolves independently as the application grows.
|
All guides and cookbooks have _at least these core files_. Each file has a distinct purpose and evolves independently as the application grows.
|
||||||
|
|
||||||
所有指南和烹饪书都有*至少这几个核心文件*。每个文件都有独特的用途,并且随着应用的成长各自独立演变。
|
所有指南和烹饪书都至少 有*这几个核心文件*。每个文件都有独特的用途,并且随着应用的成长各自独立演变。
|
||||||
|
|
||||||
style td, th {vertical-align: top}
|
style td, th {vertical-align: top}
|
||||||
table(width="100%")
|
table(width="100%")
|
||||||
|
@ -207,9 +207,9 @@ block install-tooling
|
||||||
Node powers client development and build tools.
|
Node powers client development and build tools.
|
||||||
The _npm_ package manager, itself a _node_ application, installs JavaScript libraries.
|
The _npm_ package manager, itself a _node_ application, installs JavaScript libraries.
|
||||||
|
|
||||||
Node.js 和 npm 对使用 Angular 和其他平台进行现代网络开发的至关重要。
|
Node.js 和 npm 对使用 Angular 和其他平台进行现代网络开发是至关重要的。
|
||||||
Node 驱动客户端开发和构建工具。
|
Node 驱动客户端开发和构建工具。
|
||||||
*npm* 包管理器本身是*node*应用,用于安装 JavaScript 库。
|
*npm* 包管理器本身是 *node* 应用,用于安装 JavaScript 库。
|
||||||
|
|
||||||
<a href="https://docs.npmjs.com/getting-started/installing-node" target="_blank" title="Installing Node.js and updating npm">
|
<a href="https://docs.npmjs.com/getting-started/installing-node" target="_blank" title="Installing Node.js and updating npm">
|
||||||
Get them now</a> if they're not already installed on your machine.
|
Get them now</a> if they're not already installed on your machine.
|
||||||
|
@ -221,15 +221,15 @@ block install-tooling
|
||||||
by running the commands `node -v` and `npm -v` in a terminal/console window.
|
by running the commands `node -v` and `npm -v` in a terminal/console window.
|
||||||
Older versions produce errors.
|
Older versions produce errors.
|
||||||
|
|
||||||
在终端/控制台窗口运行命令`node -v`和`npm -v`,来**确认你运行的 node 是`v4.x.x`或更高,npm 为`3.x.x`或更高。**。
|
在终端/控制器窗口运行命令`node -v`和`npm -v`,来**确认你运行的 node 是`v4.x.x`或更高,npm 为`3.x.x`或更高。**
|
||||||
老版本产品会产生错误。
|
老版本会产生错误。
|
||||||
|
|
||||||
We recommend [nvm](https://github.com/creationix/nvm) for managing multiple versions of node and npm.
|
We recommend [nvm](https://github.com/creationix/nvm) for managing multiple versions of node and npm.
|
||||||
You may need [nvm](https://github.com/creationix/nvm) if you already have projects running on your machine that
|
You may need [nvm](https://github.com/creationix/nvm) if you already have projects running on your machine that
|
||||||
use other versions of node and npm.
|
use other versions of node and npm.
|
||||||
|
|
||||||
我们推荐 [nvm](https://github.com/creationix/nvm) 来管理多版本 node 和 npm。
|
我们推荐使用 [nvm](https://github.com/creationix/nvm) 来管理多版本 node 和 npm。
|
||||||
如果你的电脑上已经有使用其他版本 node 和 npm 的项目,你可能需要[nvm](https://github.com/creationix/nvm)。
|
如果你的电脑上已经有使用其他版本 node 和 npm 的项目,你可能需要 nvm。
|
||||||
|
|
||||||
+ifDocsFor('ts')
|
+ifDocsFor('ts')
|
||||||
a#why-locally
|
a#why-locally
|
||||||
|
|
Loading…
Reference in New Issue