@vue/runtime-core
@vue/runtime-core
Last updated 3 years ago by yyx990803 .
MIT · Repository · Bugs · Original npm
$ cnpm install @vue/runtime-core 
SYNC missed versions from official npm registry.

@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.

Current Tags

  • 3.3.0-alpha.13                                ...           alpha (2 years ago)
  • 3.3.0-beta.5                                ...           beta (2 years ago)
  • 3.3.4                                ...           latest (2 years ago)

13 Versions

  • 3.3.4                                ...           2 years ago
  • 3.3.0-beta.5                                ...           2 years ago
  • 3.3.0-alpha.13                                ...           2 years ago
  • 3.2.41                                ...           3 years ago
  • 3.2.36                                ...           3 years ago
  • 3.2.37                                ...           3 years ago
  • 3.2.34-beta.1                                ...           3 years ago
  • 3.2.0-beta.8                                ...           4 years ago
  • 3.2.31                                ...           4 years ago
  • 3.0.3                                ...           5 years ago
  • 3.1.0-beta.7                                ...           4 years ago
  • 3.0.0-alpha.2                                ...           6 years ago
  • 3.1.1                                ...           4 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (2)
Dev Dependencies (0)
None
Dependents (0)
None

Copyright 2013 - present © cnpmjs.org