vue3-yuanma/packages/runtime-dom/src/index.ts
2019-08-20 09:58:10 -04:00

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'