2018-10-17 03:47:51 +08:00
|
|
|
import { createRenderer, VNode, Component } from '@vue/core'
|
2018-10-02 01:15:07 +08:00
|
|
|
import { nodeOps, TestElement } from './nodeOps'
|
2018-10-02 04:42:53 +08:00
|
|
|
import { patchData } from './patchData'
|
2018-10-02 01:15:07 +08:00
|
|
|
|
|
|
|
const { render: _render } = createRenderer({
|
|
|
|
nodeOps,
|
|
|
|
patchData
|
|
|
|
})
|
|
|
|
|
2018-10-11 01:13:27 +08:00
|
|
|
type publicRender = (
|
|
|
|
node: VNode | null,
|
|
|
|
container: TestElement
|
2018-10-17 03:47:51 +08:00
|
|
|
) => Component | null
|
2018-10-02 01:15:07 +08:00
|
|
|
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'
|