vue3-yuanma/packages/compiler-core/src/runtimeConstants.ts

18 lines
736 B
TypeScript
Raw Normal View History

// Name mapping constants for runtime helpers that need to be imported in
// generated code. Make sure these are correctly exported in the runtime!
2019-09-24 19:49:02 +00:00
export const FRAGMENT = `Fragment`
export const PORTAL = `Portal`
export const COMMENT = `Comment`
export const TEXT = `Text`
export const SUSPENSE = `Suspense`
export const CREATE_VNODE = `createVNode`
export const RESOLVE_COMPONENT = `resolveComponent`
export const RESOLVE_DIRECTIVE = `resolveDirective`
export const APPLY_DIRECTIVES = `applyDirectives`
export const RENDER_LIST = `renderList`
2019-09-28 00:29:20 +00:00
export const RENDER_SLOT = `renderSlot`
export const TO_STRING = `toString`
2019-09-24 00:45:40 +00:00
export const MERGE_PROPS = `mergeProps`
2019-09-25 00:51:48 +00:00
export const TO_HANDLERS = `toHandlers`
export const CAMELIZE = `camelize`