npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

weapp-tailwindcss-webpack-plugin

v3.6.2

Published

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

Downloads

3,689

Readme

简体中文(zh-cn) | English

star dm0 dm1 license test codecov

[!NOTE] 降低开发维护成本,提升开发效率的 小程序 tailwindcss 全方面解决方案

小程序原生工具链 weapp-vite 已经发布,使用它改善你的原生小程序开发体验吧,更多详见 官方文档

[文档地址] | [备用文档地址] | [1.x文档]

特性

| 不仅仅是webpack | 主流框架与原生开发支持 | | --------------------------------------------------- | ----------------------------------------------- | | wepback+vite+gulp | frameworks |

核心插件支持 webpack/vite/gulp 为基底的框架类小程序开发,涵盖了市面上几乎所有的主流的开发框架。

同时也支持最原生的开发者工具创建的原生小程序应用。

这些插件能够自动识别并精确处理所有 tailwindcss 的工具类来适配小程序环境。

版本对应

目前,weapp-tailwindcss2.x3.x 支持最新版本的 tailwindcss v3.x.x 版本和 webpack5webpack4, vitegulp。从 3.2.0 开始,weapp-tailwindcss 支持最原生的小程序开发方式。

如果你还在使用 tailwindcss@2 版本,那你应该使用从 weapp-tailwindcss/webpack4 导出的本插件的 postcss7 webpack4 版本。另外请确保你的 nodejs 版本 >=16.6.0。目前低于 16 的长期维护版本(偶数版本) 都已经结束了生命周期,建议安装 nodejsLTS 版本,详见 nodejs/release

安装与使用方式

生态和解决方案

常见问题

各个框架的模板

旧版本迁移指南

配置项参考

变更日志

Tips

前沿阅读: What’s Tailwind Oxide Engine? The Next Evolution of Tailwind CSS

未来 tailwindcss@4 会切换到这个引擎来大幅加快构建和运行速度,当然等它发布正式版本的时候,我也会尽可能第一时间去进行兼容新的引擎。

Contribute

我们邀请你来贡献和帮助改进 weapp-tailwindcss 💚💚💚

以下有几个方式可以参与:

  • 报告错误:如果您遇到任何错误或问题,请提issue并提供完善的错误信息和复现方式。
  • 建议:有增强 weapp-tailwindcss 的想法吗?请提 issue 来分享您的建议。
  • 文档:如果您对文档有更好的见解或者更棒的修辞方式,欢迎 pr
  • 代码:任何人的代码都不是完美的,我们欢迎你通过 pr 给代码提供更好的质量与活力。

License

MIT

Star History

Star History Chart

Related projects

weapp-vite

weapp-vite: 把现代化的开发模式带入小程序开发!

IceStack

IceStack: ❤️ IceStack, Web UI for Mobile, PC, open-source Css component library generator

weapp-ide-cli

weapp-ide-cli: 一个微信开发者工具命令行,快速方便的直接启动 ide 进行登录,开发,预览,上传代码等等功能。

weapp-pandacss

weapp-pandacss CSS-in-JS 编译时框架的小程序适配器