mirror of
https://github.com/JasonYANG170/IOTConnect-Web.git
synced 2024-11-27 14:16:34 +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')
|
||
|
```
|