@weapp-tailwindcss/experimental 0.0.3 → 0.0.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.en.md +9 -0
- package/README.md +5 -95
- package/package.json +2 -2
package/README.en.md
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
# @weapp-tailwindcss/experimental
|
|
2
|
+
|
|
3
|
+
> English | [简体中文](./README.md)
|
|
4
|
+
|
|
5
|
+
This package contains experimental implementations and toolchain comparisons for weapp-tailwindcss, such as output differences between CSS and build tools. Its API is not considered stable.
|
|
6
|
+
|
|
7
|
+
## Website
|
|
8
|
+
|
|
9
|
+
For setup guides, configuration references, and framework examples, see the [official weapp-tailwindcss documentation](https://tw.icebreaker.top).
|
package/README.md
CHANGED
|
@@ -1,99 +1,9 @@
|
|
|
1
|
-
|
|
1
|
+
# @weapp-tailwindcss/experimental
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
> 简体中文 | [English](./README.en.md)
|
|
4
4
|
|
|
5
|
-
|
|
6
|
-
</a>
|
|
5
|
+
这个包承载 weapp-tailwindcss 的实验性实现和工具链对比验证,例如不同 CSS/构建工具的输出差异。它不承诺稳定 API。
|
|
7
6
|
|
|
8
|
-
|
|
7
|
+
## 官网
|
|
9
8
|
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
</p>
|
|
13
|
-
|
|
14
|
-
> 简体中文(zh-cn) | [English](./README_en.md)
|
|
15
|
-
|
|
16
|
-

|
|
17
|
-

|
|
18
|
-

|
|
19
|
-
[](https://github.com/sonofmagic/weapp-tailwindcss/actions/workflows/test.yml)
|
|
20
|
-
[](https://codecov.io/gh/sonofmagic/weapp-tailwindcss)
|
|
21
|
-
|
|
22
|
-
> [!NOTE]
|
|
23
|
-
> 降低开发维护成本,提升开发效率的 `小程序` `tailwindcss` 全方面解决方案
|
|
24
|
-
>
|
|
25
|
-
> `weapp-tailwindcss@4.2.x` 现已支持 `uni-app x` 同时构建 `Web`,`小程序`,`安卓`,`IOS`,`鸿蒙`,详见 [**uni-app x 专题**](https://tw.icebreaker.top/docs/uni-app-x)
|
|
26
|
-
|
|
27
|
-
\[[文档地址](https://tw.icebreaker.top)\] \| \[[备用文档地址](https://ice-tw.netlify.app/)\] \| \[[加入技术交流群](https://tw.icebreaker.top/docs/community/group)\]
|
|
28
|
-
|
|
29
|
-
- [特性](#特性)
|
|
30
|
-
- [版本对应](#版本对应)
|
|
31
|
-
- [安装与使用方式](#安装与使用方式)
|
|
32
|
-
- [生态和解决方案](#生态和解决方案)
|
|
33
|
-
- [常见问题](#常见问题)
|
|
34
|
-
- [各个框架的模板](#各个框架的模板)
|
|
35
|
-
- [旧版本迁移指南](#旧版本迁移指南)
|
|
36
|
-
- [配置项参考](#配置项参考)
|
|
37
|
-
- [Contribute](#contribute)
|
|
38
|
-
- [License](#license)
|
|
39
|
-
- [Star History](#star-history)
|
|
40
|
-
- [Related projects](#related-projects)
|
|
41
|
-
- [weapp-vite](#weapp-vite)
|
|
42
|
-
|
|
43
|
-
## 特性
|
|
44
|
-
|
|
45
|
-
| 不仅仅是`webpack` | 主流框架与原生开发支持 |
|
|
46
|
-
| --------------------------------------------------- | ----------------------------------------------- |
|
|
47
|
-
|  |  |
|
|
48
|
-
|
|
49
|
-
核心插件支持 `webpack`/`vite`/`rspack`/`rollup`/`rolldown`/`gulp` 为基底的框架类小程序开发,涵盖了市面上几乎所有的主流的开发框架。
|
|
50
|
-
|
|
51
|
-
也支持直接从各个开发者工具中,直接创建的原生小程序应用。
|
|
52
|
-
|
|
53
|
-
这些插件能够自动识别并精确处理所有 `tailwindcss` 的工具类来适配小程序环境。
|
|
54
|
-
|
|
55
|
-
## 版本对应
|
|
56
|
-
|
|
57
|
-
目前,`weapp-tailwindcss` 的 `5.x` 版本
|
|
58
|
-
|
|
59
|
-
- 支持最新版本的 `tailwindcss v4` 和 `v3`。
|
|
60
|
-
- 支持 `webpack5`、`vite`、`rspack`、`rollup`、`rolldown` 和 `gulp` 这些打包工具,也支持纯 `Nodejs` API 的方式,集成到你自己的构建工具中。
|
|
61
|
-
|
|
62
|
-
> `weapp-tailwindcss@5` 面向 Tailwind CSS v3/v4 和现代构建链路,不再内置 Webpack4、PostCSS7、Tailwind CSS v2 兼容入口。`weapp-tailwindcss@5` 需要 `nodejs` 版本 `^20.19.0 || >=22.12.0`,建议安装 `nodejs` 的 `LTS` 版本,详见 [nodejs/release](https://github.com/nodejs/release)
|
|
63
|
-
|
|
64
|
-
## [安装与使用方式](https://tw.icebreaker.top/docs/quick-start/install)
|
|
65
|
-
|
|
66
|
-
## [生态和解决方案](https://tw.icebreaker.top/docs/community/templates)
|
|
67
|
-
|
|
68
|
-
## [常见问题](https://tw.icebreaker.top/docs/issues/)
|
|
69
|
-
|
|
70
|
-
## [各个框架的模板](https://tw.icebreaker.top/docs/community/templates)
|
|
71
|
-
|
|
72
|
-
## [旧版本迁移指南](https://tw.icebreaker.top/docs/migrations/v2)
|
|
73
|
-
|
|
74
|
-
## [配置项参考](https://tw.icebreaker.top/docs/api/interfaces/UserDefinedOptions)
|
|
75
|
-
|
|
76
|
-
## Contribute
|
|
77
|
-
|
|
78
|
-
我们邀请你来贡献和帮助改进 `weapp-tailwindcss` 💚💚💚
|
|
79
|
-
|
|
80
|
-
以下有几个方式可以参与:
|
|
81
|
-
|
|
82
|
-
- 报告错误:如果您遇到任何错误或问题,请提`issue`并提供完善的错误信息和复现方式。
|
|
83
|
-
- 建议:有增强 `weapp-tailwindcss` 的想法吗?请提 `issue` 来分享您的建议。
|
|
84
|
-
- 文档:如果您对文档有更好的见解或者更棒的修辞方式,欢迎 `pr`。
|
|
85
|
-
- 代码:任何人的代码都不是完美的,我们欢迎你通过 `pr` 给代码提供更好的质量与活力。
|
|
86
|
-
|
|
87
|
-
## License
|
|
88
|
-
|
|
89
|
-
[MIT](./LICENSE)
|
|
90
|
-
|
|
91
|
-
## Star History
|
|
92
|
-
|
|
93
|
-
[](https://star-history.com/#sonofmagic/weapp-tailwindcss&Date)
|
|
94
|
-
|
|
95
|
-
## Related projects
|
|
96
|
-
|
|
97
|
-
### weapp-vite
|
|
98
|
-
|
|
99
|
-
[weapp-vite](https://vite.icebreaker.top/): 把现代化的开发模式带入小程序开发!
|
|
9
|
+
更多接入方式、配置说明和框架示例见 [weapp-tailwindcss 官方文档](https://tw.icebreaker.top)。
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@weapp-tailwindcss/experimental",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.0.
|
|
4
|
+
"version": "0.0.5",
|
|
5
5
|
"description": "@weapp-tailwindcss/experimental",
|
|
6
6
|
"author": "ice breaker <1324318532@qq.com>",
|
|
7
7
|
"license": "ISC",
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
},
|
|
39
39
|
"dependencies": {
|
|
40
40
|
"lightningcss": "^1.32.0",
|
|
41
|
-
"@weapp-tailwindcss/postcss": "3.0.
|
|
41
|
+
"@weapp-tailwindcss/postcss": "3.0.3",
|
|
42
42
|
"@weapp-tailwindcss/shared": "2.0.0"
|
|
43
43
|
},
|
|
44
44
|
"scripts": {
|