weapp-tailwindcss weekly downloads statistics
By weapp-tailwindcss · npm · Webpack plugins
Bring Tailwind CSS to every platform! 把 Tailwind CSS 的原子化开发体验带到全端!
weapp-tailwindcss has 11,089 recorded weekly downloads on npm, an increase of 53.5% over the past 30 days, ranking #936 of 2,322 tracked listings.
About weapp-tailwindcss
weapp-tailwindcss
English | 简体中文
Bring Tailwind CSS to every platform. weapp-tailwindcss is the core compiler and build integration layer for delivering utility-first styles to Web, mini programs, and native cross-platform runtimes.
What it provides
- Tailwind CSS v4 generation through a shared compiler boundary.
- Vite, Webpack, Rspack, Gulp, PostCSS, and Node.js integration points.
- Precise class transformation based on the generated Tailwind candidate set.
- CSS compatibility transforms for WeChat, Alipay, ByteDance, QQ, and other mini-program style environments.
- Shared generation foundations for React Native, Expo, ReactLynx, and Rspeedy integrations.
Choose an integration
| Target | Recommended entry |
|---|---|
| Web / H5 | weapp-tailwindcss/vite/web for plain Vite, or weapp-tailwindcss/vite, Webpack/Rspack integration |
| uni-app / uni-app x | Vite or Webpack integration selected by the framework build chain |
| Taro / Mpx / native mini programs | Vite, Webpack, Rspack, or Gulp integration |
| React Native / Expo | @weapp-tailwindcss/react-native |
| ReactLynx / Rspeedy | @weapp-tailwindcss/lynx |
Start with the installation guide or select a framework from the documentation website.
Plain Vite Web projects can use the dedicated entry to pin the Web target and avoid inheriting framework detection from an enclosing monorepo:
import { WeappTailwindcssWeb } from 'weapp-tailwindcss/vite/web'
export default {
plugins: [WeappTailwindcssWeb()],
}
The repository provides three canonical templates: uni-app, Taro Vite, and weapp-vite. Each can be installed independently and verified with the template smoke build.
Tailwind CSS 4 entry
Your CSS entry must be imported by the application build graph. Configure cssEntries with absolute paths resolved from the project root when stable entry discovery is required, but do not treat it as a replacement for importing the CSS file.
@import "tailwindcss";
@source "./src";
Tailwind generation remains owned by weapp-tailwindcss. Do not add @tailwindcss/vite or @tailwindcss/postcss as a second generator in the same build.
CLI
Install the independently published CLI together with this package and Tailwind CSS:
pnpm add -D @weapp-tailwindcss/cli weapp-tailwindcss tailwindcss
pnpm exec weapp-tw -i src/input.css -o dist/output.css --watch
The CLI generates Web CSS by default. --target weapp performs CSS-only mini-program compatibility conversion; complete WXML, JavaScript, and WXSS projects still require a bundler integration. Watch mode uses @parcel/watcher native events by default and supports explicit polling with --poll.
See the CLI guide for source maps, stdin/stdout, watch mode, and canonicalize.
Runtime requirements
- Node.js
^22.18.0 || >=24.11.0for the current release line. - HBuilderX
>=5.11when using uni-app or uni-app x through HBuilderX.
Community and support
License
Description from the npm listing.
- tailwindcss
- weapp
- mini
- miniprogram
- mini app
- weapp-tw
- weapp-tailwindcss
- taro
- uni-app
- remax
- mpx
- jit
- mp
- android
- ios
- 小程序
- vite
- postcss
- webpack
README badge
Show your rank in a README or on your website. The badge updates automatically.
Charts
Images: 30d · 1y · all time · 1600×900 dark
Adoption over time
7/30/90-day growth
Ranking history
Listing placement
Listing placement
Filled points are observed values; hollow points come from Internet Archive snapshots of the listing page. Dashed segments span periods with no observations — values between points are not interpolated.
Each band is one page of 20. Weekly downloads on a linear scale. Placement is projected from weekly downloads, so it can differ from the marketplace's own sort order. Hover a dot to see the listing.
Recent observations
Full history (544)Similar npm Webpack plugins plugins
All 20 weapp-tailwindcss alternativesData source
Weekly downloads (trailing 7 complete days) come from the official npm downloads API. Downloads include CI and mirrors and are not equivalent to installs or users. npm publishes no ratings.
Listing: https://www.npmjs.com/package/weapp-tailwindcss. First seen Oct 16, 2026; last successful collection Oct 20, 2026. See the methodology.