update doc

This commit is contained in:
afc163 2017-02-19 18:20:56 +08:00
parent 18ec5933b7
commit ae67f5cc20
2 changed files with 4 additions and 4 deletions

View File

@ -3,7 +3,7 @@ order: 1
title: Getting Started
---
Ant Design React is dedicated to providing a **good development experience** for programmers.
Ant Design React is dedicated to providing a **good development experience** for programmers and make sure that you had installed [Node.js](https://nodejs.org/)(> v4.x) correctly.
---
@ -23,7 +23,7 @@ Such features, together with packaging the production version are covered in thi
### 1. Installation
> Please make sure that you had installed [Node.js](https://nodejs.org/en/)(> v4.x) before using `antd-init`.
[antd-init](https://github.com/ant-design/antd-init/) is a demo only scaffold tool. If you want to create real world projects, [dva-cli](https://github.com/dvajs/dva-cli) is our recommendation.
```bash
$ npm install antd-init -g

View File

@ -7,7 +7,7 @@ Ant Design React 致力于提供给程序员**愉悦**的开发体验。
---
在开始之前,推荐先学习 [React](http://facebook.github.io/react/) 和 [ES2015](http://babeljs.io/docs/learn-es2015/)。
在开始之前,推荐先学习 [React](http://facebook.github.io/react/) 和 [ES2015](http://babeljs.io/docs/learn-es2015/),并确认 已经正确安装和配置了 [Node.js](https://nodejs.org/) v4.x 或以上
## 第一个例子
@ -22,7 +22,7 @@ Ant Design React 致力于提供给程序员**愉悦**的开发体验。
### 1. 安装脚手架工具
> 使用 `antd-init` 前,务必确认 [Node.js](https://nodejs.org/en/) 已经升级到 v4.x 或以上
[antd-init](https://github.com/ant-design/antd-init/) 是一个用于演示 antd 如何使用的脚手架工具,真实项目建议使用 [dva-cli](https://github.com/dvajs/dva-cli)
```bash
$ npm install antd-init -g