14 lines
198 B
Markdown
Raw Normal View History

2023-07-24 11:13:08 +08:00
# @vue/runtime-dom
``` js
import { h, createApp } from '@vue/runtime-dom'
const RootComponent = {
render() {
return h('div', 'hello world')
}
}
createApp(RootComponent).mount('#app')
```