vue3-yuanma/packages/core/src/index.ts
2018-09-25 18:00:29 -04:00

26 lines
818 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'
// flags & types
export { ComponentClass, FunctionalComponent } from './component'
export { ComponentOptions, PropType } from './componentOptions'
export { VNodeFlags, ChildrenFlags } from './flags'
export { VNode, VNodeData, VNodeChildren, Key, Ref, Slots, Slot } from './vdom'