1 Star 0 Fork 0

一路生花 / Taro+react

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
postcss.config.js 510 Bytes
一键复制 编辑 原始数据 按行查看 历史
一路生花 提交于 2024-01-03 15:15 . 初始化项目
/* eslint-disable import/no-commonjs */
// postcss.config.js
// postcss 插件是 object 方式注册的话,是按照由上到下的顺序执行的,相关实现见 postcss-load-config
module.exports = {
plugins: {
tailwindcss: {},
autoprefixer: {},
"postcss-rem-to-responsive-pixel": {
// 32 意味着 1rem = 32rpx
rootValue: 32,
// 默认所有属性都转化
propList: ["*"],
// 转化的单位,可以变成 px / rpx
transformUnit: "rpx",
},
},
};
1
https://gitee.com/grow-flowers-all-the-way-TQS/taro-react.git
git@gitee.com:grow-flowers-all-the-way-TQS/taro-react.git
grow-flowers-all-the-way-TQS
taro-react
Taro+react
master

搜索帮助