docs: update readme

This commit is contained in:
dntzhang 2019-09-01 15:52:50 +08:00
parent 2293aa49ad
commit ce33b9e129
2 changed files with 5 additions and 2 deletions

View File

@ -40,7 +40,9 @@ define('my-counter', ['count'], _ => (
render(<my-counter />, 'body', new Store)
```
`define` 的第二个参数是可选的。
* `define` 的第二和第四个参数是可选的
* `<my-counter></my-counter>` 可以用于任意框架或者无框架,比如 `document.createElement('my-counter')`
## Omi 生态

View File

@ -40,7 +40,8 @@ define('my-counter', ['count'], _ => (
render(<my-counter />, 'body', new Store)
```
The second parameter of `define` is optional.
* The second and fourth parameter of `define` is optional
* `<my-counter></my-counter>` can be used in any framework or no framework, such as `document.createElement('my-counter')`
## Ecosystem of Omi