mirror of
https://github.com/JasonYANG170/IOTConnect-Web.git
synced 2024-11-23 20:26:28 +00:00
14 lines
198 B
Markdown
14 lines
198 B
Markdown
|
# @vue/runtime-dom
|
||
|
|
||
|
``` js
|
||
|
import { h, createApp } from '@vue/runtime-dom'
|
||
|
|
||
|
const RootComponent = {
|
||
|
render() {
|
||
|
return h('div', 'hello world')
|
||
|
}
|
||
|
}
|
||
|
|
||
|
createApp(RootComponent).mount('#app')
|
||
|
```
|