13 lines
387 B
TypeScript
13 lines
387 B
TypeScript
import { createRenderer, VNode } from '@vue/runtime-core'
|
|
import { nodeOps } from './nodeOps'
|
|
import { patchProp } from './patchProp'
|
|
|
|
export const render = createRenderer({
|
|
patchProp,
|
|
...nodeOps
|
|
}) as (vnode: VNode | null, container: HTMLElement) => VNode
|
|
|
|
// re-export everything from core
|
|
// h, Component, reactivity API, nextTick, flags & types
|
|
export * from '@vue/runtime-core'
|