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

25 lines
790 B
TypeScript
Raw Normal View History

2018-09-19 23:35:38 +08:00
// render api
export { h, Fragment, Portal } from './h'
export { cloneVNode, createPortal, createFragment } from './vdom'
export { createRenderer } from './createRenderer'
2018-09-26 05:49:47 +08:00
export { Component } from './component'
2018-09-19 23:35:38 +08:00
// observer api
export * from '@vue/observer'
2018-09-19 23:35:38 +08:00
// scheduler api
export { nextTick } from '@vue/scheduler'
2018-09-20 11:19:25 +08:00
// internal api
export { createComponentInstance } from './componentUtils'
2018-09-26 05:49:47 +08:00
// import-on-demand apis
2018-09-26 02:56:31 +08:00
export { applyDirective } from './directive'
2018-09-26 05:49:47 +08:00
export { Provide, Inject } from './context'
2018-09-20 11:19:25 +08:00
2018-09-19 23:35:38 +08:00
// flags & types
2018-09-20 11:19:25 +08:00
export { ComponentClass, FunctionalComponent } from './component'
2018-09-19 23:35:38 +08:00
export { ComponentOptions, PropType } from './componentOptions'
export { VNodeFlags, ChildrenFlags } from './flags'
export { VNode, VNodeData, VNodeChildren, Key, Ref, Slots, Slot } from './vdom'