You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@weex.apache.org by ta...@apache.org on 2017/07/10 03:24:42 UTC
[4/6] incubator-weex git commit: Updated grammar in set-up-env.md
Updated grammar in set-up-env.md
Updated grammar in set-up-env.md
Project: http://git-wip-us.apache.org/repos/asf/incubator-weex/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-weex/commit/87dac9fe
Tree: http://git-wip-us.apache.org/repos/asf/incubator-weex/tree/87dac9fe
Diff: http://git-wip-us.apache.org/repos/asf/incubator-weex/diff/87dac9fe
Branch: refs/heads/dev
Commit: 87dac9fed6dd3f8b90904d7fed0a4bb75865a9f7
Parents: 6d395f5
Author: Denny <de...@gmail.com>
Authored: Fri Jul 7 20:34:03 2017 -0500
Committer: GitHub <no...@github.com>
Committed: Fri Jul 7 20:34:03 2017 -0500
----------------------------------------------------------------------
doc/source/guide/set-up-env.md | 18 +++++++++---------
1 file changed, 9 insertions(+), 9 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/87dac9fe/doc/source/guide/set-up-env.md
----------------------------------------------------------------------
diff --git a/doc/source/guide/set-up-env.md b/doc/source/guide/set-up-env.md
index 702c347..6aac518 100644
--- a/doc/source/guide/set-up-env.md
+++ b/doc/source/guide/set-up-env.md
@@ -8,11 +8,11 @@ has_chapter_content: true
# Set up development environment
-Use dotWe is a good choice, But if you want to develop locally on your own machine, you will set up your development environment.
+Using [dotWe](http://dotwe.org/vue) is a good choice, but if you want to develop locally on your own machine, you will need to set up your development environment.
-You will need Node.js and the [Weex CLi](https://github.com/weexteam/weex-toolkit).
+You will need Node.js and the [Weex CLI](https://github.com/weexteam/weex-toolkit).
-You can installing Node using [nvm](https://github.com/creationix/nvm) (Simple bash script to manage multiple active node.js versions). Run the following commands in a Terminal after installing nvm:
+You can install Node using [nvm](https://github.com/creationix/nvm) (Simple bash script to manage multiple active node.js versions). Run the following commands in a Terminal after installing nvm:
```bash
$ nvm install 6.10.0
@@ -41,13 +41,13 @@ Then you can use the weex command to verify that the installation is successful:
### Generate a new Weex project
-You can use CLi to generate a Weex project called "awesome-project". Run the following command in a Terminal:
+You can use CLI to generate a Weex project called "awesome-project". Run the following command in a Terminal:
```bash
$ weex init awesome-project
```
-Then we enter the awesome-project folder, the CLi has been for us to generate a standard project structure.
+Then enter the awesome-project folder, the CLI has been for us to generate a standard project structure.
### Usage
@@ -57,7 +57,7 @@ We enter the awesome-project folder and install dependencies with the following
npm install
```
-Then we run `npm run dev` and `npm run serve` to start watch mode and static server.
+Then run `npm run dev` and `npm run serve` to start watch mode and static server.
Finally, we can see the Weex page in `http://localhost:8080/index.html`.
@@ -66,8 +66,8 @@ You can modify this page in `src/foo.vue`. The code is shown below:
```html
<template>
<div class="wrapper">
- <text class="weex">Hello Weex !</text>
- <text class="vue">Hello Vue !</text>
+ <text class="weex">Hello Weex!</text>
+ <text class="vue">Hello Vue!</text>
</div>
</template>
@@ -90,4 +90,4 @@ You can modify this page in `src/foo.vue`. The code is shown below:
</style>
```
-If you're curious to learn more about technical details, continue on to the next. And don't forget to write code at [dotWe](https://dotwe.org) and preview at anytime.
+If you're curious to learn more about technical details, continue on to the next section. And don't forget to write code at [dotWe](https://dotwe.org) and preview at anytime.