mirror of https://github.com/vuejs/core.git
16 lines
315 B
Markdown
16 lines
315 B
Markdown
|
# @vue/runtime-core
|
||
|
|
||
|
> This package is published only for typing and building custom renderers. It is NOT meant to be used in applications.
|
||
|
|
||
|
``` ts
|
||
|
import { createRenderer, h } from '@vue/runtime-core'
|
||
|
|
||
|
const { render } = createRenderer({
|
||
|
nodeOps,
|
||
|
patchData,
|
||
|
teardownVNode
|
||
|
})
|
||
|
|
||
|
render(h('div'), container)
|
||
|
```
|