vue3-yuanma/packages/renderer-test/src/index.ts

16 lines
424 B
TypeScript
Raw Normal View History

2018-10-02 01:15:07 +08:00
import { createRenderer, VNode } from '@vue/core'
import { nodeOps, TestElement } from './nodeOps'
import { patchData } from './patchData'
2018-10-02 01:15:07 +08:00
const { render: _render } = createRenderer({
nodeOps,
patchData
})
type publicRender = (node: VNode | null, container: TestElement) => void
export const render = _render as publicRender
2018-10-02 05:22:49 +08:00
export { serialize } from './serialize'
2018-10-02 01:15:07 +08:00
export * from './nodeOps'
export * from '@vue/core'