Skip to content

Commit

Permalink
Merge branch 'main' into weapp-tailwindcss
Browse files Browse the repository at this point in the history
  • Loading branch information
sonofmagic committed Jan 26, 2024
2 parents 459adfe + dde3a08 commit f96a345
Show file tree
Hide file tree
Showing 73 changed files with 3,413 additions and 2,164 deletions.
7 changes: 7 additions & 0 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,13 @@
"type": "node-terminal",
"cwd": "${workspaceFolder}/demo/taro-app"
},
{
"command": "yarn dev",
"name": "[Demo Mpx] Mpx dev",
"request": "launch",
"type": "node-terminal",
"cwd": "${workspaceFolder}/demo/mpx-app"
},
{
"name": "Debug Jest Tests",
"type": "node",
Expand Down
91 changes: 33 additions & 58 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,38 +24,26 @@
> 降低开发维护成本,提升开发效率的 `小程序` `tailwindcss` 全方面解决方案
>
> 我的其他项目:
> `CSS UI` 生成器 [`@icestack/ui`](https://ui.icebreaker.top/zh-CN) 已经发布,快来用它管理你的`CSS` 组件吧!
>
> 想试试在小程序里使用**编译时**`CSS-in-JS` 工具? 👉🏻👉🏻试试 [`weapp-pandacss`](https://github.com/sonofmagic/weapp-pandacss)
> `Tailwindcss/Unocss UI` 生成提取器: [`IceStack`](https://ui.icebreaker.top/zh-CN) 已经发布,快来用它管理你的原子化`CSS` 组件吧!
\[[国内部署的文档地址](https://weapp-tw.icebreaker.top)\] \| \[[备用Github Page](https://sonofmagic.github.io/weapp-tailwindcss/)\] \| \[[1.x文档]('./v1.md')\]

- [Tips](#tips)
- [特性](#特性)
- [插件介绍](#插件介绍)
- [安装与使用方式](#安装与使用方式)
- [从 v1 迁移到 v2](#从-v1-迁移到-v2)
- [配置项参考](#配置项参考)
- [使用tailwindcss任意值(arbitrary values)](#使用tailwindcss任意值arbitrary-values)
- [生态和解决方案](#生态和解决方案)
- [常见问题](#常见问题)
- [现成配置好的各个框架的模板](#现成配置好的各个框架的模板)
- [旧版本迁移指南](#旧版本迁移指南)
- [配置项参考](#配置项参考)
- [变更日志](#变更日志)
- [Tips](#tips)
- [Contribute](#contribute)
- [License](#license)
- [Star History](#star-history)
- [Related projects](#related-projects)
- [CLI 工具](#cli-工具)
- [模板 template](#模板-template)
- [如何选择?](#如何选择)
- [使用`uni-app cli`进行构建 `vscode`开发](#使用uni-app-cli进行构建-vscode开发)
- [使用`hbuilderx` 进行构建和开发](#使用hbuilderx-进行构建和开发)
- [使用`tarojs`进行构建 `vscode`开发](#使用tarojs进行构建-vscode开发)
- [原生小程序开发模板](#原生小程序开发模板)
- [tailwindcss plugin / util](#tailwindcss-plugin--util)
- [weapp-pandacss](#weapp-pandacss)
- [Bugs \& Issues](#bugs--issues)

## Tips

自从 `2.3.3` 版本开始,我发布了一个额外的包叫 `weapp-tailwindcss`,它和 `weapp-tailwindcss-webpack-plugin` 代码版本完全一致,且保持发布版本的同步。以后可以都去安装 `weapp-tailwindcss` 这个包(当然现在 `webpack-plugin` 这个包也不会废弃,也会时刻保持版本的同步)。为什么要这么做的原因,主要是因为 `weapp-tailwindcss-webpack-plugin` 这个名字,已经不适合描述现在这种,多插件并存的状态了,为了以后的发展就改了个名字。

前沿阅读: [What’s Tailwind Oxide Engine? The Next Evolution of Tailwind CSS](https://medium.com/@bomber.marek/whats-tailwind-oxide-engine-the-next-evolution-of-tailwind-css-32e7ef8e19a1),未来 `tailwindcss` 会切换到这个引擎来大幅加快构建和运行速度,当然等它发布正式版本的时候,我也会尽可能第一时间去进行兼容新的引擎。

## 特性

Expand All @@ -77,68 +65,55 @@

目前,这些插件支持最新版本的 `tailwindcss v3.x.x` 版本和 `webpack5``vite``gulp`

> 如果你还在使用 `tailwindcss@2` 版本,那你应该使用本插件的 `1.x` 版本。另外请确保你的 `nodejs` 版本 `>=16.6.0`。目前低于 `16` 的长期维护版本(`偶数版本`) 都已经结束了生命周期,建议安装 `nodejs``LTS`版本,详见 [nodejs/release](https://github.com/nodejs/release)
> 如果你还在使用 `tailwindcss@2` 版本,那你应该使用本插件的 `1.x`/`webpack4` 版本。另外请确保你的 `nodejs` 版本 `>=16.6.0`。目前低于 `16` 的长期维护版本(`偶数版本`) 都已经结束了生命周期,建议安装 `nodejs``LTS`版本,详见 [nodejs/release](https://github.com/nodejs/release)
## [安装与使用方式](https://weapp-tw.icebreaker.top/docs/quick-start/install)

## [从 v1 迁移到 v2](https://weapp-tw.icebreaker.top/docs/migrations/v1)

<!-- ## [js文件内容中taiwlindcss类名的精确转化与忽略策略](https://weapp-tw.icebreaker.top/docs/options/comments) -->

## [配置项参考](https://weapp-tw.icebreaker.top/docs/api/interfaces/UserDefinedOptions)

## [使用tailwindcss任意值(arbitrary values)](https://tailwindcss.com/docs/adding-custom-styles#using-arbitrary-values)
## [生态和解决方案](https://weapp-tw.icebreaker.top/docs/community/templates)

## [常见问题](https://weapp-tw.icebreaker.top/docs/issues/)

## [变更日志](./CHANGELOG.md)

## Related projects

### CLI 工具
## [现成配置好的各个框架的模板](https://weapp-tw.icebreaker.top/docs/community/templates)

[weapp-ide-cli](https://github.com/sonofmagic/utils/tree/main/packages/weapp-ide-cli): 一个微信开发者工具命令行,快速方便的直接启动 ide 进行登录,开发,预览,上传代码等等功能。
## [旧版本迁移指南](https://weapp-tw.icebreaker.top/docs/migrations/v2)

### 模板 template
## [配置项参考](https://weapp-tw.icebreaker.top/docs/api/interfaces/UserDefinedOptions)

#### 如何选择?
## [变更日志](./CHANGELOG.md)

假如你仅仅是开发一个`小程序` + `h5` 的组合,那么使用 `vscode` 模板就足够了
## Tips

假如你的项目构建的重点平台是 `app` 那么还是推荐使用 `hbuilderx` 模板,因为 `hbuilderx` 自带了一套 `app` 构建和调试的工具链,可以更好的支持你的开发
自从 `2.3.3` 版本开始,我发布了一个额外的包叫 `weapp-tailwindcss`,它和 `weapp-tailwindcss-webpack-plugin` 代码版本完全一致,且保持发布版本的同步。以后可以都去安装 `weapp-tailwindcss` 这个包,当然现在 `weapp-tailwindcss-webpack-plugin` 这个包也不会废弃,也会时刻保持版本的同步

#### 使用`uni-app cli`进行构建 `vscode`开发
为什么要这么做的原因,主要是因为 `weapp-tailwindcss-webpack-plugin` 这个名字,已经不适合描述现在这种,多插件并存的状态了,为了以后的发展改个名。

[uni-app-vite-vue3-tailwind-vscode-template](https://github.com/sonofmagic/uni-app-vite-vue3-tailwind-vscode-template)
前沿阅读: [What’s Tailwind Oxide Engine? The Next Evolution of Tailwind CSS](https://medium.com/@bomber.marek/whats-tailwind-oxide-engine-the-next-evolution-of-tailwind-css-32e7ef8e19a1),未来 `tailwindcss` 会切换到这个引擎来大幅加快构建和运行速度,当然等它发布正式版本的时候,我也会尽可能第一时间去进行兼容新的引擎。

[uni-app-vue2-tailwind-vscode-template](https://github.com/sonofmagic/uni-app-vue2-tailwind-vscode-template)
## Contribute

#### 使用`hbuilderx` 进行构建和开发
我们邀请你来贡献和帮助改进 `weapp-tailwindcss` 💚💚💚

[uni-app-vue3-tailwind-hbuilder-template](https://github.com/sonofmagic/uni-app-vue3-tailwind-hbuilder-template)
以下有几个方式可以参与:

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

[taro-react-tailwind-vscode-template](https://github.com/sonofmagic/taro-react-tailwind-vscode-template)
## License

#### 原生小程序开发模板
[MIT](./LICENSE)

[weapp-tailwindcss-gulp-template(gulp打包)](https://github.com/sonofmagic/weapp-tailwindcss/tree/main/demo/gulp-app)
## Star History

[weapp-native-mina-tailwindcss-template(webpack打包)](https://github.com/sonofmagic/weapp-native-mina-tailwindcss-template)
[![Star History Chart](https://api.star-history.com/svg?repos=sonofmagic/weapp-tailwindcss&type=Date)](https://star-history.com/#sonofmagic/weapp-tailwindcss&Date)

### tailwindcss plugin / util
## Related projects

- [css-to-tailwindcss-plugin](https://github.com/sonofmagic/icestack/tree/main/packages/css-to-tailwindcss-plugin) transform your `css/scss` to `tailwindcss plugin`
### CLI 工具

- [weapp-tailwindcss-children](https://github.com/sonofmagic/weapp-tailwindcss-children)
[weapp-ide-cli](https://github.com/sonofmagic/utils/tree/main/packages/weapp-ide-cli): 一个微信开发者工具命令行,快速方便的直接启动 ide 进行登录,开发,预览,上传代码等等功能。

### weapp-pandacss

[weapp-pandacss](https://github.com/sonofmagic/weapp-pandacss) `CSS-in-JS` 编译时框架的小程序适配器

## Bugs & Issues

目前这个插件正在快速的开发中,如果遇到 `Bug` 或者想提出 `Issue`

[欢迎提交到此处](https://github.com/sonofmagic/weapp-tailwindcss/issues)
2 changes: 1 addition & 1 deletion demo/gulp-app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@
"typescript": "^5.3.3",
"weapp-ide-cli": "^1.0.1",
"weapp-tailwindcss-children": "^0.1.0",
"weapp-tailwindcss-webpack-plugin": "^3.0.7"
"weapp-tailwindcss-webpack-plugin": "^3.0.8"
},
"dependencies": {
"@vant/weapp": "^1.11.2"
Expand Down
61 changes: 35 additions & 26 deletions demo/gulp-app/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -168,10 +168,10 @@
chalk "^2.4.2"
js-tokens "^4.0.0"

"@babel/[email protected].6", "@babel/parser@^7.23.6":
version "7.23.6"
resolved "https://registry.npmmirror.com/@babel/parser/-/parser-7.23.6.tgz#ba1c9e512bda72a47e285ae42aff9d2a635a9e3b"
integrity sha512-Z2uID7YJ7oNvAI20O9X0bblw7Qqs8Q2hFy0R9tAfnfLkp5MW0UH9eUvnDSnFwKZ0AvgS1ucqR4KzvVHgnke1VQ==
"@babel/[email protected].9", "@babel/parser@^7.23.9":
version "7.23.9"
resolved "https://registry.npmmirror.com/@babel/parser/-/parser-7.23.9.tgz#7b903b6149b0f8fa7ad564af646c4c38a77fc44b"
integrity sha512-9tcKgqKbs3xGJ+NtKF2ndOBBLVwPjl1SHxPQkd36r3Dlirw3xWUeGaTbqr7uGZcTaxkVNwc+03SVP7aCdWrTlA==

"@babel/parser@^7.22.15":
version "7.23.0"
Expand Down Expand Up @@ -206,19 +206,19 @@
"@babel/parser" "^7.22.5"
"@babel/types" "^7.22.5"

"@babel/[email protected].7":
version "7.23.7"
resolved "https://registry.npmmirror.com/@babel/traverse/-/traverse-7.23.7.tgz#9a7bf285c928cb99b5ead19c3b1ce5b310c9c305"
integrity sha512-tY3mM8rH9jM0YHFGyfC0/xf+SB5eKUu7HPj7/k3fpi9dAlsMc5YbQvDi0Sh2QTPXqMhyaAtzAr807TIyfQrmyg==
"@babel/[email protected].9":
version "7.23.9"
resolved "https://registry.npmmirror.com/@babel/traverse/-/traverse-7.23.9.tgz#2f9d6aead6b564669394c5ce0f9302bb65b9d950"
integrity sha512-I/4UJ9vs90OkBtY6iiiTORVMyIhJ4kAVmsKo9KFc8UOxMeUfi2hvtIBsET5u9GizXE6/GFSuKCTNfgCswuEjRg==
dependencies:
"@babel/code-frame" "^7.23.5"
"@babel/generator" "^7.23.6"
"@babel/helper-environment-visitor" "^7.22.20"
"@babel/helper-function-name" "^7.23.0"
"@babel/helper-hoist-variables" "^7.22.5"
"@babel/helper-split-export-declaration" "^7.22.6"
"@babel/parser" "^7.23.6"
"@babel/types" "^7.23.6"
"@babel/parser" "^7.23.9"
"@babel/types" "^7.23.9"
debug "^4.3.1"
globals "^11.1.0"

Expand All @@ -238,10 +238,10 @@
debug "^4.1.0"
globals "^11.1.0"

"@babel/[email protected].6", "@babel/types@^7.23.6":
version "7.23.6"
resolved "https://registry.npmmirror.com/@babel/types/-/types-7.23.6.tgz#be33fdb151e1f5a56877d704492c240fc71c7ccd"
integrity sha512-+uarb83brBzPKN38NX1MkB6vb6+mwvR6amUulqAE7ccQw1pEl+bCia9TbdG1lsnFP7lZySvUn37CHyXQdfTwzg==
"@babel/[email protected].9", "@babel/types@^7.23.9":
version "7.23.9"
resolved "https://registry.npmmirror.com/@babel/types/-/types-7.23.9.tgz#1dd7b59a9a2b5c87f8b41e52770b5ecbf492e002"
integrity sha512-dQjSq/7HaSjRM43FFGnv5keM2HsxpmyV1PfaSVm0nzzjwwTmjOe6J4bC8e3+pTEIgHaHj+1ZlLThRJ2auc/w1Q==
dependencies:
"@babel/helper-string-parser" "^7.23.4"
"@babel/helper-validator-identifier" "^7.22.20"
Expand Down Expand Up @@ -283,6 +283,15 @@
"@babel/helper-validator-identifier" "^7.22.20"
to-fast-properties "^2.0.0"

"@babel/types@^7.23.6":
version "7.23.6"
resolved "https://registry.npmmirror.com/@babel/types/-/types-7.23.6.tgz#be33fdb151e1f5a56877d704492c240fc71c7ccd"
integrity sha512-+uarb83brBzPKN38NX1MkB6vb6+mwvR6amUulqAE7ccQw1pEl+bCia9TbdG1lsnFP7lZySvUn37CHyXQdfTwzg==
dependencies:
"@babel/helper-string-parser" "^7.23.4"
"@babel/helper-validator-identifier" "^7.22.20"
to-fast-properties "^2.0.0"

"@cspotcode/source-map-support@^0.8.0":
version "0.8.1"
resolved "https://registry.npmmirror.com/@cspotcode/source-map-support/-/source-map-support-0.8.1.tgz"
Expand Down Expand Up @@ -4279,10 +4288,10 @@ lodash.templatesettings@^3.0.0:
lodash._reinterpolate "^3.0.0"
lodash.escape "^3.0.0"

lru-cache@10.1.0:
version "10.1.0"
resolved "https://registry.npmmirror.com/lru-cache/-/lru-cache-10.1.0.tgz#2098d41c2dc56500e6c88584aa656c84de7d0484"
integrity sha512-/1clY/ui8CzjKFyjdvwPWJUYKiFVXG2I2cY0ssG7h4+hwk+XOIX7ZSG9Q7TW8TW3Kp3BUSqgFWBLgL4PJ+Blag==
lru-cache@10.2.0:
version "10.2.0"
resolved "https://registry.npmmirror.com/lru-cache/-/lru-cache-10.2.0.tgz#0bd445ca57363465900f4d1f9bd8db343a4d95c3"
integrity sha512-2bIM8x+VAf6JT4bKAljS1qUWgMsqZRPGJS6FSahIMPVvctcNhyVp7AJu7quxOW9jwkryBReKZY5tY5JYv2n/7Q==

lru-cache@^6.0.0:
version "6.0.0"
Expand Down Expand Up @@ -6541,24 +6550,24 @@ weapp-tailwindcss-children@^0.1.0:
resolved "https://registry.npmmirror.com/weapp-tailwindcss-children/-/weapp-tailwindcss-children-0.1.0.tgz#0de102f04a89d77447ca3b984669bbe5ffa41aa1"
integrity sha512-HuDT78u6RbXpJIHbJzw4zW98JByWCz4elhTAT9QR/JWJuQpiRNbnqa5tL+ZTVCcT4bHt9Ppf/E2MNTohPgBE3g==

weapp-tailwindcss-webpack-plugin@^3.0.7:
version "3.0.7"
resolved "https://registry.npmmirror.com/weapp-tailwindcss-webpack-plugin/-/weapp-tailwindcss-webpack-plugin-3.0.7.tgz#64483db7a7fb9d7591cebd4a3eaeeeba703307e3"
integrity sha512-GiEn8I+eB8X+TbRnIzuHh/wTM5zCAQ9dWbC7ClUmn24hYmhTKv5h+TfE2yiAZMOULfG6rIFedBZQIs2sIJXfsQ==
weapp-tailwindcss-webpack-plugin@^3.0.8:
version "3.0.8"
resolved "https://registry.npmmirror.com/weapp-tailwindcss-webpack-plugin/-/weapp-tailwindcss-webpack-plugin-3.0.8.tgz#d26ef0c412e4bb7f4f3cebca1d6024728dd6388a"
integrity sha512-D4QtPArYjt55KP2P8gLFQn0sKRN2/kI+9YZRT1B3cK0V3tLbdths0TfzGyN4Ss7hhJ+z+2LwDG20NhEEpqGxFQ==
dependencies:
"@ast-core/escape" "^1.0.1"
"@babel/generator" "7.23.6"
"@babel/parser" "7.23.6"
"@babel/traverse" "7.23.7"
"@babel/types" "7.23.6"
"@babel/parser" "7.23.9"
"@babel/traverse" "7.23.9"
"@babel/types" "7.23.9"
"@csstools/postcss-is-pseudo-class" "4.0.3"
"@tailwindcss-mangle/shared" "^2.2.2"
"@weapp-core/escape" "^2.0.0"
"@weapp-core/regex" "^1.0.1"
debug "4.3.4"
htmlparser2 "9.1.0"
loader-utils "2.0.3"
lru-cache "10.1.0"
lru-cache "10.2.0"
magic-string "0.30.5"
md5 "2.3.0"
postcss "8.4.33"
Expand Down
57 changes: 29 additions & 28 deletions demo/mpx-app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,61 +14,62 @@
"postinstall": "weapp-tw patch"
},
"dependencies": {
"@mpxjs/api-proxy": "^2.9.1",
"@mpxjs/core": "^2.9.1",
"@mpxjs/api-proxy": "^2.9.16",
"@mpxjs/core": "^2.9.16",
"@mpxjs/fetch": "^2.9.1",
"@mpxjs/pinia": "^2.9.1",
"@mpxjs/store": "^2.9.1",
"@mpxjs/store": "^2.9.9",
"@mpxjs/utils": "^2.9.1",
"pinia": "^2.1.7",
"tdesign-miniprogram": "^1.2.7",
"vue": "^2.6.14",
"vue-demi": "^0.13.11",
"vue-i18n": "^8.27.2",
"vue-i18n-bridge": "^9.6.0",
"vue-router": "^3.1.3"
},
"devDependencies": {
"@babel/core": "^7.23.3",
"@babel/plugin-transform-runtime": "^7.23.4",
"@babel/preset-env": "^7.23.3",
"@babel/runtime-corejs3": "^7.23.4",
"@mpxjs/babel-plugin-inject-page-events": "^2.9.1",
"@babel/core": "^7.23.9",
"@babel/plugin-transform-runtime": "^7.23.9",
"@babel/preset-env": "^7.23.9",
"@babel/runtime-corejs3": "^7.23.9",
"@mpxjs/babel-plugin-inject-page-events": "^2.9.5",
"@mpxjs/eslint-config-ts": "^1.0.5",
"@mpxjs/miniprogram-simulate": "^1.4.17",
"@mpxjs/mpx-cli-service": "^2.1.1",
"@mpxjs/mpx-cli-service": "^2.1.6",
"@mpxjs/mpx-jest": "^0.0.27",
"@mpxjs/size-report": "^2.9.1",
"@mpxjs/vue-cli-plugin-mpx": "^2.1.1",
"@mpxjs/vue-cli-plugin-mpx-e2e-test": "^2.1.1",
"@mpxjs/vue-cli-plugin-mpx-eslint": "^2.1.1",
"@mpxjs/vue-cli-plugin-mpx-typescript": "^2.1.1",
"@mpxjs/vue-cli-plugin-mpx-unit-test": "^2.1.1",
"@mpxjs/webpack-plugin": "^2.9.1",
"@mpxjs/size-report": "^2.9.14",
"@mpxjs/vue-cli-plugin-mpx": "^2.1.6",
"@mpxjs/vue-cli-plugin-mpx-e2e-test": "^2.1.6",
"@mpxjs/vue-cli-plugin-mpx-eslint": "^2.1.6",
"@mpxjs/vue-cli-plugin-mpx-typescript": "^2.1.5",
"@mpxjs/vue-cli-plugin-mpx-unit-test": "^2.1.6",
"@mpxjs/webpack-plugin": "^2.9.16",
"@vue/cli-service": "~5.0.0",
"autoprefixer": "^10.4.16",
"autoprefixer": "^10.4.17",
"babel-jest": "^29.7.0",
"cross-env": "^7.0.3",
"eslint": "^8.54.0",
"eslint": "^8.56.0",
"jest": "^29.7.0",
"postcss": "^8.4.31",
"postcss-loader": "^7.3.3",
"postcss": "^8.4.33",
"postcss-loader": "^8.0.0",
"postcss-rem-to-responsive-pixel": "^6.0.1",
"postcss-rpx-transform": "^1.0.1",
"sass": "^1.69.5",
"sass-loader": "^13.3.2",
"sass": "^1.70.0",
"sass-loader": "^14.0.0",
"stylus": "^0.62.0",
"stylus-loader": "^7.1.3",
"stylus-loader": "^8.0.0",
"tailwind-css-variables-theme-generator": "^0.4.0",
"tailwindcss": "^3.4.1",
"tailwindcss-patch": "^2.2.2",
"tailwindcss-rem2px-preset": "^1.0.3",
"ts-jest": "^29.1.1",
"typescript": "^5.3.2",
"vue-template-compiler": "^2.7.15",
"ts-jest": "^29.1.2",
"typescript": "^5.3.3",
"vue-template-compiler": "^2.7.16",
"weapp-ide-cli": "^1.0.1",
"weapp-tailwindcss-children": "^0.1.0",
"weapp-tailwindcss-webpack-plugin": "^3.0.7",
"webpack": "^5.89.0"
"weapp-tailwindcss-webpack-plugin": "^3.0.8",
"webpack": "^5.90.0"
},
"browserslist": [
"ios >= 8",
Expand Down
4 changes: 3 additions & 1 deletion demo/mpx-app/src/pages/index.mpx
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
</view>

<list />
<t-button>111</t-button>
</view>
</template>

Expand Down Expand Up @@ -54,7 +55,8 @@ createPage({
<script type="application/json">
{
"usingComponents": {
"list": "../components/list"
"list": "../components/list",
"t-button": "tdesign-miniprogram/button/button"
}
}
</script>
Loading

0 comments on commit f96a345

Please sign in to comment.