vue3-yuanma/packages/compiler-sfc/src/index.ts

34 lines
824 B
TypeScript
Raw Normal View History

2019-11-07 10:58:15 +08:00
// API
export { parse } from './parse'
export { compileTemplate } from './compileTemplate'
export { compileStyle, compileStyleAsync } from './compileStyle'
export { compileScript } from './compileScript'
export { rewriteDefault } from './rewriteDefault'
export { generateCodeFrame } from '@vue/compiler-core'
2019-11-07 10:58:15 +08:00
// Types
export {
SFCParseOptions,
SFCDescriptor,
SFCBlock,
SFCTemplateBlock,
SFCScriptBlock,
SFCStyleBlock
} from './parse'
export {
TemplateCompiler,
2019-12-14 00:24:09 +08:00
SFCTemplateCompileOptions,
SFCTemplateCompileResults
} from './compileTemplate'
export {
SFCStyleCompileOptions,
SFCAsyncStyleCompileOptions,
SFCStyleCompileResults
} from './compileStyle'
2020-07-11 10:12:25 +08:00
export { SFCScriptCompileOptions } from './compileScript'
export {
CompilerOptions,
CompilerError,
BindingMetadata
} from '@vue/compiler-core'