vue3-yuanma/packages/runtime-dom/src/index.ts

13 lines
387 B
TypeScript
Raw Normal View History

import { createRenderer, VNode } from '@vue/runtime-core'
2019-06-20 21:28:37 +08:00
import { nodeOps } from './nodeOps'
import { patchProp } from './patchProp'
2018-09-19 23:35:38 +08:00
2019-06-20 21:28:37 +08:00
export const render = createRenderer({
patchProp,
...nodeOps
}) as (vnode: VNode | null, container: HTMLElement) => VNode
2018-09-19 23:35:38 +08:00
// re-export everything from core
2019-08-20 21:58:10 +08:00
// h, Component, reactivity API, nextTick, flags & types
2018-10-27 03:44:50 +08:00
export * from '@vue/runtime-core'