From 43a6e4a06cf354646c15bda1beb55beb51d1d29d Mon Sep 17 00:00:00 2001 From: dntzhang Date: Fri, 10 Feb 2017 16:00:41 +0800 Subject: [PATCH] Update README.md --- README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 0a29c9b53..72c04b90d 100644 --- a/README.md +++ b/README.md @@ -60,6 +60,8 @@ Omi.render(new Hello({ name : "Omi" }),"body"); [[点击这里->在线试试]](http://alloyteam.github.io/omi/website/redirect.html?type=hello) +如果使用omi.lite.js版本(不包含mustachejs模板引擎)的话,也可以[使用 ${this.data.name} 的方式](http://alloyteam.github.io/omi/website/redirect.html?type=without_tpl)。 + 你可以使用Omi.makeHTML来生成组件标签用于嵌套。 ```js Omi.makeHTML('Hello', Hello); @@ -157,4 +159,4 @@ You can use [webpack](https://webpack.github.io/) + [babel](http://babeljs.io/) Omi did not abandon the ES5 users, you can also use ES5 to write Omi.[[Try Omi-ES5 on Playground]](http://alloyteam.github.io/omi/website/redirect.html?type=hello_es5) # License -This content is released under the [MIT](http://opensource.org/licenses/MIT) License. \ No newline at end of file +This content is released under the [MIT](http://opensource.org/licenses/MIT) License.