2018-09-26 05:55:47 +08:00
|
|
|
// Core API
|
2018-09-19 23:35:38 +08:00
|
|
|
export { h, Fragment, Portal } from './h'
|
2018-09-26 05:55:47 +08:00
|
|
|
export { Component } from './component'
|
2018-09-19 23:35:38 +08:00
|
|
|
export { cloneVNode, createPortal, createFragment } from './vdom'
|
2018-11-01 05:58:06 +08:00
|
|
|
export {
|
|
|
|
createRenderer,
|
|
|
|
NodeOps,
|
|
|
|
PatchDataFunction,
|
|
|
|
RendererOptions
|
|
|
|
} from './createRenderer'
|
2018-09-19 23:35:38 +08:00
|
|
|
|
2018-09-26 05:55:47 +08:00
|
|
|
// Observer API
|
2018-09-20 09:51:21 +08:00
|
|
|
export * from '@vue/observer'
|
2018-09-19 23:35:38 +08:00
|
|
|
|
2018-09-26 05:55:47 +08:00
|
|
|
// Scheduler API
|
2018-09-22 01:34:00 +08:00
|
|
|
export { nextTick } from '@vue/scheduler'
|
|
|
|
|
2018-09-26 05:55:47 +08:00
|
|
|
// Optional APIs
|
|
|
|
// these are imported on-demand and can be tree-shaken
|
2018-10-17 08:32:18 +08:00
|
|
|
export { applyDirectives } from './optional/directives'
|
2018-10-05 06:12:18 +08:00
|
|
|
export { Provide, Inject } from './optional/context'
|
|
|
|
export { createAsyncComponent } from './optional/asyncComponent'
|
|
|
|
export { KeepAlive } from './optional/keepAlive'
|
2018-10-17 08:32:18 +08:00
|
|
|
export { mixins } from './optional/mixins'
|
2018-10-17 22:52:08 +08:00
|
|
|
export { EventEmitter } from './optional/eventEmitter'
|
2018-10-29 05:18:41 +08:00
|
|
|
export { memoize } from './optional/memoize'
|
2018-10-29 05:47:22 +08:00
|
|
|
|
|
|
|
// Experimental APIs
|
2018-10-30 06:50:07 +08:00
|
|
|
export {
|
|
|
|
useState,
|
|
|
|
useEffect,
|
|
|
|
useRef,
|
|
|
|
useData,
|
|
|
|
useWatch,
|
|
|
|
useComputed,
|
|
|
|
useMounted,
|
|
|
|
useUnmounted,
|
|
|
|
useUpdated
|
|
|
|
} from './experimental/hooks'
|
2018-09-20 11:19:25 +08:00
|
|
|
|
2018-09-19 23:35:38 +08:00
|
|
|
// flags & types
|
2018-10-14 09:13:56 +08:00
|
|
|
export { ComponentType, ComponentClass, FunctionalComponent } from './component'
|
2018-09-19 23:35:38 +08:00
|
|
|
export { VNodeFlags, ChildrenFlags } from './flags'
|
2018-10-05 06:12:18 +08:00
|
|
|
export { VNode, Slots } from './vdom'
|
2018-10-17 03:47:51 +08:00
|
|
|
|
|
|
|
// Internal API, for libraries or renderers that need to perform low level work
|
2018-10-19 06:21:26 +08:00
|
|
|
export * from './componentOptions'
|
2018-10-17 03:47:51 +08:00
|
|
|
export {
|
|
|
|
createComponentInstance,
|
|
|
|
createComponentClassFromOptions
|
|
|
|
} from './componentUtils'
|