Builders own Tailwind generation
Webpack, Vite, Gulp, and custom Node flows all route output through weapp-tailwindcss so mini app builds do not stack the official Tailwind generation plugin.
One utility-first workflow for Web, mini programs, and native cross-platform apps.
Reuse compilers, builder integrations, and runtime adapters while preserving each platform's native semantics and engineering boundaries.
target: web | weapp@import "tailwindcss" + @source@import + @source
Transform generated classes onlyGenerated classes only
target switches automaticallyWeb vs mini app output
Reuse Tailwind CSS 4 input while keeping source scanning, style generation, class escaping, and runtime utilities in one engineering pipeline.
Webpack, Vite, Gulp, and custom Node flows all route output through weapp-tailwindcss so mini app builds do not stack the official Tailwind generation plugin.
Only class names that Tailwind already generated are transformed, so business strings stay untouched.
Generate Web CSS, mini-program CSS, or native style manifests for each target.
Supports uni-app, Taro, Mpx, Weapp-vite, React Native, Lynx, and native mini programs.
merge, variants, and cva stay consistent around escaping on mini app targets.
H5/Web keeps native Tailwind semantics; mini apps add selectors, units, escaping, and runtime boundaries. Teams keep one entry and wire frameworks around it.
Read the introduction