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

39 lines
1.2 KiB
TypeScript
Raw Normal View History

2019-08-23 09:38:00 +08:00
// Public API ------------------------------------------------------------------
2019-08-22 23:12:37 +08:00
2019-08-23 09:38:00 +08:00
export { createComponent } from './component'
export { nextTick } from './scheduler'
2019-08-20 21:38:00 +08:00
export * from './apiReactivity'
export * from './apiWatch'
export * from './apiLifecycle'
2019-06-19 17:31:49 +08:00
export * from './apiInject'
2019-08-22 23:12:37 +08:00
2019-08-23 09:38:00 +08:00
// Advanced API ----------------------------------------------------------------
// For raw render function users
export {
createVNode,
cloneVNode,
mergeProps,
openBlock,
createBlock
} from './vnode'
2019-08-23 05:12:39 +08:00
// VNode type symbols
export { Text, Empty, Fragment, Portal } from './vnode'
// VNode flags
2019-08-22 23:12:37 +08:00
export { PublicPatchFlags as PatchFlags } from './patchFlags'
export { PublicShapeFlags as ShapeFlags } from './shapeFlags'
2019-08-23 09:38:00 +08:00
// For advanced plugins
export { getCurrentInstance } from './component'
// For custom renderers
export { createRenderer } from './createRenderer'
// Types -----------------------------------------------------------------------
export { VNode } from './vnode'
export { FunctionalComponent } from './component'
export { RendererOptions } from './createRenderer'
export { Slot, Slots } from './componentSlots'
export { PropType, ComponentPropsOptions } from './componentProps'