wip: adjust index exports
This commit is contained in:
parent
5b38e631e7
commit
7fae3ebaf3
@ -1,29 +1,38 @@
|
||||
// Types
|
||||
export { VNode } from './vnode'
|
||||
export { FunctionalComponent } from './component'
|
||||
export { RendererOptions } from './createRenderer'
|
||||
export { Slot, Slots } from './componentSlots'
|
||||
export { PropType, ComponentPropsOptions } from './componentProps'
|
||||
// Public API ------------------------------------------------------------------
|
||||
|
||||
// API
|
||||
export {
|
||||
openBlock,
|
||||
createBlock,
|
||||
createVNode,
|
||||
cloneVNode,
|
||||
mergeProps
|
||||
} from './vnode'
|
||||
export { createComponent, getCurrentInstance } from './component'
|
||||
export { createRenderer } from './createRenderer'
|
||||
export { createComponent } from './component'
|
||||
export { nextTick } from './scheduler'
|
||||
export * from './apiReactivity'
|
||||
export * from './apiWatch'
|
||||
export * from './apiLifecycle'
|
||||
export * from './apiInject'
|
||||
|
||||
// Advanced API ----------------------------------------------------------------
|
||||
|
||||
// For raw render function users
|
||||
export {
|
||||
createVNode,
|
||||
cloneVNode,
|
||||
mergeProps,
|
||||
openBlock,
|
||||
createBlock
|
||||
} from './vnode'
|
||||
// VNode type symbols
|
||||
export { Text, Empty, Fragment, Portal } from './vnode'
|
||||
|
||||
// VNode flags
|
||||
export { PublicPatchFlags as PatchFlags } from './patchFlags'
|
||||
export { PublicShapeFlags as ShapeFlags } from './shapeFlags'
|
||||
|
||||
// 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'
|
||||
|
Loading…
Reference in New Issue
Block a user