icebreaker-trash / uni-app-vue2-tailwind-hbuilder-template

uni-app-vue2-tailwind-hbuilder-template
16 stars 1 forks source link

rpx替换应该只在微信小程序里进行 #6

Closed freshbird closed 1 year ago

freshbird commented 1 year ago

建议在postcss-rem-to-responsive-pixel设置里加上: replace: process.env.UNI_PLATFORM === "mp-weixin",

sonofmagic commented 1 year ago

好的,感谢你的建议。