daiwei 767cd23496 release: v3.6.0-alpha.6 4 ヶ月 前
..
__tests__ 8cb33d79d2 chore: Merge branch 'main' into minor 5 ヶ月 前
src 0dcc98fb3a feat(suspense): support rendering of Vapor components (#14157) 4 ヶ月 前
types 4cc9ca870c types(defineComponent): support for GlobalComponents, typed Directives and respect `expose` on defineComponent (#3399) 2 年 前
LICENSE 34989ef7fe chore: license 6 年 前
README.md 8a99f903db style: format html&markdown files (#11531) 1 年間 前
index.js e05673f4d3 refactor: rename packages 7 年 前
package.json 767cd23496 release: v3.6.0-alpha.6 4 ヶ月 前

README.md

@vue/runtime-core

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.

Building a Custom Renderer

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.