vue3-yuanma/packages/core/src/index.ts
2018-09-26 17:10:34 -04:00

28 lines
912 B
TypeScript

// Core API
export { h, Fragment, Portal } from './h'
export { Component } from './component'
export { cloneVNode, createPortal, createFragment } from './vdom'
export { createRenderer } from './createRenderer'
// Observer API
export * from '@vue/observer'
// Scheduler API
export { nextTick } from '@vue/scheduler'
// Internal API
export { createComponentInstance } from './componentUtils'
// Optional APIs
// these are imported on-demand and can be tree-shaken
export * from './optional/directive'
export * from './optional/context'
export * from './optional/asyncComponent'
export * from './optional/keepAlive'
// flags & types
export { ComponentType, ComponentClass, FunctionalComponent } from './component'
export { ComponentOptions, PropType } from './componentOptions'
export { VNodeFlags, ChildrenFlags } from './flags'
export { VNode, VNodeData, VNodeChildren, Key, Ref, Slots, Slot } from './vdom'