UNPKG

weapp-tailwindcss

Version:

把 tailwindcss 原子化样式思想,带给小程序开发者们! bring tailwindcss to miniprogram developers!

9 lines (8 loc) 590 B
import type { ITemplateHandlerOptions } from '../types/index.js'; import { isPropsMatch } from './custom-attributes.js'; import { generateCode } from './utils/codegen.js'; import { customTemplateHandler } from './utils/custom-template.js'; import { templateReplacer } from './utils/template-fragments.js'; export { isPropsMatch }; export { customTemplateHandler, generateCode, templateReplacer }; export declare function createTemplateHandler(options?: Omit<ITemplateHandlerOptions, 'runtimeSet'>): (rawSource: string, opt?: Pick<ITemplateHandlerOptions, "runtimeSet">) => Promise<string>;