|
|
hace 2 semanas | |
|---|---|---|
| .. | ||
| __tests__ | 73317aeae0 chore: Merge branch 'main' into minor | hace 4 semanas |
| src | 3be149e265 feat(runtime-vapor): hydrate async setup component under VDOM Suspense (#14691) | hace 2 semanas |
| types | 4cc9ca870c types(defineComponent): support for GlobalComponents, typed Directives and respect `expose` on defineComponent (#3399) | hace 2 años |
| LICENSE | 34989ef7fe chore: license | hace 6 años |
| README.md | 8a99f903db style: format html&markdown files (#11531) | hace 1 año |
| index.js | e05673f4d3 refactor: rename packages | hace 7 años |
| package.json | 7fa1a53a63 release: v3.6.0-beta.9 | hace 4 semanas |
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.
import { createRenderer } from '@vue/runtime-core'
const { render, createApp } = createRenderer({
patchProp,
insert,
remove,
createElement,
// ...
})
// `render` is the low-level API
// `createApp` returns an app instance with configurable context shared
// by the entire app tree.
export { render, createApp }
export * from '@vue/runtime-core'
See @vue/runtime-dom for how a DOM-targeting renderer is implemented.