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

12 lines
359 B
TypeScript
Raw Normal View History

import { createRenderer, VNode } from '@vue/runtime-core'
import { DOMRendererOptions } from './rendererOptions'
2018-09-19 23:35:38 +08:00
export const render = createRenderer(DOMRendererOptions) as (
vnode: VNode | null,
2018-10-11 01:13:27 +08:00
container: HTMLElement
) => VNode
2018-09-19 23:35:38 +08:00
// re-export everything from core
// h, Component, observer API, nextTick, flags & types
2018-10-27 03:44:50 +08:00
export * from '@vue/runtime-core'