refactor: rename packages
This commit is contained in:
15
packages/runtime-core/README.md
Normal file
15
packages/runtime-core/README.md
Normal file
@@ -0,0 +1,15 @@
|
||||
# @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)
|
||||
```
|
||||
Reference in New Issue
Block a user