index.ts 534 B

12345678910111213141516171819202122232425262728
  1. import { parse, SFCBlock, SFCCustomBlock, SFCDescriptor } from './parse'
  2. import {
  3. compileTemplate,
  4. TemplateCompileOptions,
  5. TemplateCompileResult
  6. } from './compileTemplate'
  7. import {
  8. compileStyle,
  9. compileStyleAsync,
  10. StyleCompileOptions,
  11. StyleCompileResults
  12. } from './compileStyle'
  13. // API
  14. export { parse, compileTemplate, compileStyle, compileStyleAsync }
  15. // types
  16. export {
  17. SFCBlock,
  18. SFCCustomBlock,
  19. SFCDescriptor,
  20. TemplateCompileOptions,
  21. TemplateCompileResult,
  22. StyleCompileOptions,
  23. StyleCompileResults
  24. }