🔧
This commit is contained in:
6
node_modules/@vue/runtime-core/README.md
generated
vendored
6
node_modules/@vue/runtime-core/README.md
generated
vendored
@@ -2,18 +2,18 @@
|
||||
|
||||
> This package is published only for typing and building custom renderers. It is NOT meant to be used in applications.
|
||||
|
||||
For full exposed APIs, see `src/index.ts`. You can also run `yarn build runtime-core --types` from repo root, which will generate an API report at `temp/runtime-core.api.md`.
|
||||
For full exposed APIs, see `src/index.ts`.
|
||||
|
||||
## Building a Custom Renderer
|
||||
|
||||
``` ts
|
||||
```ts
|
||||
import { createRenderer } from '@vue/runtime-core'
|
||||
|
||||
const { render, createApp } = createRenderer({
|
||||
patchProp,
|
||||
insert,
|
||||
remove,
|
||||
createElement,
|
||||
createElement
|
||||
// ...
|
||||
})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user