UNPKG
vue-next
Version:
latest (0.0.1)
0.0.1
## Status: Pre-Alpha.
vue-next
/
packages
/
runtime-dom
/
README.md
14 lines
(10 loc)
•
200 B
Markdown
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#
@vue
/runtime-dom ``` js
import
{ h, createApp } from
'@vue/runtime-dom'
const
RootComponent = { render() {
return
h(
'div'
,
'hello world'
) } } createApp().mount(RootComponent,
'#app'
) ```