docs: update readme
This commit is contained in:
parent
2293aa49ad
commit
ce33b9e129
|
@ -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 生态
|
||||
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue