css-generator-plugin has 27 recorded weekly downloads on npm, a decrease of 75.9% over the past 30 days.
It ranks #1800 of 2,251 tracked npm listings by weekly downloads.
Over 90 days, weekly downloads changed by +108%.
PluginStats has 121 daily observations since Jun 19, 2026; the latest is from Oct 17, 2026.
About css-generator-plugin
css-generator-plugin 自动生成css文件,高效开发页面
在线尝试
更新记录
如何使用
• 安装依赖
webpack 小程序用户
webpack配置
在项目入口文件中引入 生成的css
vite 用户
vite 配置
在项目入口文件中引入 生成的css
生成器 用户
项目入口中引用
CDN 引入
生成代码提示文件
将会在根目录生成 auto-use-snippets.css 作为代码提示文件
配置项
webpack 或 vite 用户请 下载本项目中配置文件 .css.generator.js 到项目根目录
cdn 或生成器用户 请在 函数中传入配置
text npx css-generator or yarn css-generator
```
规则说明与进阶使用
Description from the npm listing.
css
vue
react
weixin
mini-program
webpack-plugin
Where css-generator-plugin sits in the listing
Each band is one page of 20. Weekly downloads on a log 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.
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.
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.