vue3-yuanma/packages/core/README.md

16 lines
299 B
Markdown
Raw Normal View History

2018-09-19 23:35:38 +08:00
# @vue/core
> This package is published only for typing and building custom renderers. It is NOT meant to be used in applications.
2018-09-20 12:17:20 +08:00
``` ts
import { createRenderer, h } from '@vue/core'
const { render } = createRenderer({
nodeOps,
patchData,
teardownVNode
})
render(h('div'), container)
```