You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
三咲智子 Kevin Deng bfe6b459d3
style: update format & lint config (#9162)
2 years ago
..
__tests__ style: update format & lint config (#9162) 2 years ago
src style: update format & lint config (#9162) 2 years ago
types feat(sfc): introduce `defineModel` macro and `useModel` helper (#8018) 2 years ago
LICENSE chore: license 6 years ago
README.md chore: delete outdated content in readme (#8093) [ci skip] 2 years ago
index.js refactor: rename packages 7 years ago
package.json release: v3.4.0-rc.2 2 years ago

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.