From ef656c3bdb60158ffef322e5a8dd9ac320d417f1 Mon Sep 17 00:00:00 2001 From: kmdjs Date: Sat, 21 Jan 2017 15:29:39 +0800 Subject: [PATCH] update readme --- README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index a21c252f2..bd89b9ed3 100644 --- a/README.md +++ b/README.md @@ -71,7 +71,9 @@ Omi.render(new Hello({ name : "Omi" }),"body"); ... ``` -你可以使用 [webpack](https://webpack.github.io/) 打包工具,webpack会把你的模块代码打成一个很小的包,优化加载时间。使用[babel](http://babeljs.io/),让你立刻马上使用ES6+来编写你的web程序。你只需要在webpack配置的module设置好[babel-loader](https://github.com/babel/babel-loader)便可。当然Omi没有抛弃ES5的用户。你可以使用ES5的方式编写Omi。具体可以看这里[Hello World with ES5](https://github.com/AlloyTeam/Omi/blob/master/docs/cn_hello_world.md#hello-world-with-es5) +你可以使用 [webpack](https://webpack.github.io/) + [babel](http://babeljs.io/),让你立刻马上使用ES6+来编写你的web程序。你只需要在webpack配置的module设置好[babel-loader](https://github.com/babel/babel-loader)便可。 + + 当然Omi没有抛弃ES5的用户。你可以使用ES5的方式编写Omi。具体可以看这里[Hello World with ES5](https://github.com/AlloyTeam/Omi/blob/master/docs/cn_hello_world.md#hello-world-with-es5) # License This content is released under the [MIT](http://opensource.org/licenses/MIT) License. \ No newline at end of file