From 22aa1308c1ec4dfe40cea0b3eb9107987965210a Mon Sep 17 00:00:00 2001 From: dntzhang Date: Tue, 23 May 2017 10:24:23 +0800 Subject: [PATCH] update readme --- tutorial/all.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/tutorial/all.md b/tutorial/all.md index 7c9bf35fe..c4bbffc29 100644 --- a/tutorial/all.md +++ b/tutorial/all.md @@ -83,6 +83,14 @@ npm install omi 你也可以 [Omi Cli](https://github.com/AlloyTeam/omi-cli) 来初始化你的项目脚手架,它会帮你处理好一切构建相关的东西。 +```js +npm install omi-cli -g //安装CLI +omi init [project name] //初始化项目 +cd your_project_name //转到目录 +npm start //开发 +npm run dist //生成发布文件 +``` + ## Hello Omi ```js