Skip to content

Commit

Permalink
docs: add doc for demo
Browse files Browse the repository at this point in the history
  • Loading branch information
h-a-n-a committed Jul 7, 2021
1 parent bf849bd commit 2fa941a
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
10 changes: 10 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,16 @@ toReact(VueComponent, {
})
```

## Demo

Clone this repo first, then

```bash
yarn
yarn build
yarn demo
```

## Contributing

1. Fork it!
Expand Down
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ export default <TProps = any>(

return () => app.$destroy()
}
}, [])
}, [props])

return React.createElement(
'div',
Expand Down

0 comments on commit 2fa941a

Please sign in to comment.