vue3-core/packages/runtime-dom/README.md

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

14 lines
198 B
Markdown
Raw Normal View History

2018-10-27 03:44:50 +08:00
# @vue/runtime-dom
2018-09-19 23:35:38 +08:00
```js
2019-09-07 00:58:31 +08:00
import { h, createApp } from '@vue/runtime-dom'
2018-09-19 23:35:38 +08:00
2019-09-07 00:58:31 +08:00
const RootComponent = {
render() {
return h('div', 'hello world')
},
2018-09-19 23:35:38 +08:00
}
createApp(RootComponent).mount('#app')
2018-09-19 23:35:38 +08:00
```