* [doc] bug fix setup about
Project: http://git-wip-us.apache.org/repos/asf/incubator-weex/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-weex/commit/5cffb4e5 Tree: http://git-wip-us.apache.org/repos/asf/incubator-weex/tree/5cffb4e5 Diff: http://git-wip-us.apache.org/repos/asf/incubator-weex/diff/5cffb4e5 Branch: refs/heads/0.16-dev Commit: 5cffb4e5c52bffc30c24a461ccf76a2546030635 Parents: b13b428 Author: gurisxie <279483...@qq.com> Authored: Fri Sep 15 10:50:30 2017 +0800 Committer: gurisxie <279483...@qq.com> Committed: Fri Sep 15 10:50:30 2017 +0800 ---------------------------------------------------------------------- doc/source/cn/guide/set-up-env.md | 2 +- doc/source/cn/guide/tools/toolkit.md | 2 +- doc/source/guide/set-up-env.md | 2 +- doc/source/guide/tools/toolkit.md | 5 ++--- 4 files changed, 5 insertions(+), 6 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/5cffb4e5/doc/source/cn/guide/set-up-env.md ---------------------------------------------------------------------- diff --git a/doc/source/cn/guide/set-up-env.md b/doc/source/cn/guide/set-up-env.md index 139e155..30b77d6 100644 --- a/doc/source/cn/guide/set-up-env.md +++ b/doc/source/cn/guide/set-up-env.md @@ -90,7 +90,7 @@ $ weex init awesome-project - `serve`: å¼å¯éææå¡å¨ - `debug`: è°è¯æ¨¡å¼ -æä»¬å éè¿ `npm install` å®è£ 项ç®ä¾èµãä¹åè¿è¡ `npm run dev` å `npm run serve` å¼å¯watch 模å¼åéææå¡å¨ã +æä»¬å éè¿ `npm install` å®è£ 项ç®ä¾èµãä¹åè¿è¡æ ¹ç®å½ä¸ç `sh ./start` å¼å¯ watch 模å¼åéææå¡å¨ã ç¶åæä»¬æå¼æµè§å¨ï¼è¿å ¥ `http://localhost:8080/index.html` å³å¯çå° weex h5 页é¢ã http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/5cffb4e5/doc/source/cn/guide/tools/toolkit.md ---------------------------------------------------------------------- diff --git a/doc/source/cn/guide/tools/toolkit.md b/doc/source/cn/guide/tools/toolkit.md index 90bfe13..de72f75 100644 --- a/doc/source/cn/guide/tools/toolkit.md +++ b/doc/source/cn/guide/tools/toolkit.md @@ -53,7 +53,7 @@ $ weex init awesome-project - `serve`: å¼å¯éææå¡å¨ - `debug`: è°è¯æ¨¡å¼ -æä»¬å éè¿ `npm install` å®è£ 项ç®ä¾èµãä¹åè¿è¡ `npm run dev` å `npm run serve` å¼å¯ `watch` 模å¼åéææå¡å¨ã +æä»¬å éè¿ `npm install` å®è£ 项ç®ä¾èµãä¹åè¿è¡æ ¹ç®å½ä¸ç `sh ./start` å¼å¯ watch 模å¼åéææå¡å¨ã ç¶åæä»¬æå¼æµè§å¨ï¼è¿å ¥ `http://localhost:8080/index.html` å³å¯çå° Weex h5 页é¢ã http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/5cffb4e5/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..b734d08 100644 --- a/doc/source/guide/set-up-env.md +++ b/doc/source/guide/set-up-env.md @@ -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 we run `sh ./start` in root directory to start watch mode and static server. Finally, we can see the Weex page in `http://localhost:8080/index.html`. http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/5cffb4e5/doc/source/guide/tools/toolkit.md ---------------------------------------------------------------------- diff --git a/doc/source/guide/tools/toolkit.md b/doc/source/guide/tools/toolkit.md index 2e19b2d..ff088cb 100644 --- a/doc/source/guide/tools/toolkit.md +++ b/doc/source/guide/tools/toolkit.md @@ -37,10 +37,9 @@ There are some useful npm scripts you will use in the future: - `serve`: start a web server - `debug`: open the debug mode -When all dependences are ready, you can input `npm run dev` and run `npm run server` in a command line tab. Now you can visit our web page in : - -http://localhost:8080/index.html +Then we run `sh ./start` in root directory to start watch mode and static server. +Finally, we can see the Weex page in `http://localhost:8080/index.html`. ### preview Weex page in time