@next-vue/runtime-core
TypeScript icon, indicating that this package has built-in type declarations

3.0.0-alpha.10 • Public • Published

@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. You can also run yarn build runtime-core --types from repo root, which will generate an API report at temp/runtime-core.api.md.

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.

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
3.0.0-alpha.100latest

Version History

VersionDownloads (Last 7 Days)Published
3.0.0-alpha.100
3.0.0-alpha.90
3.0.0-alpha.80
3.0.0-alpha.70
3.0.0-alpha.60
3.0.0-alpha.50
3.0.0-alpha.40
3.0.0-alpha.30
3.0.0-alpha.20
3.0.0-alpha.10

Package Sidebar

Install

npm i @next-vue/runtime-core

Weekly Downloads

0

Version

3.0.0-alpha.10

License

MIT

Unpacked Size

505 kB

Total Files

7

Last publish

Collaborators

  • hujiulongpkg