![]() Server : Apache System : Linux server2.corals.io 4.18.0-348.2.1.el8_5.x86_64 #1 SMP Mon Nov 15 09:17:08 EST 2021 x86_64 User : corals ( 1002) PHP Version : 7.4.33 Disable Function : exec,passthru,shell_exec,system Directory : /home/corals/ts.corals.io/frontend/node_modules/@vue/runtime-core/ |
# @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 ``` 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.