taro-plugin-tailwind icon indicating copy to clipboard operation
taro-plugin-tailwind copied to clipboard

css 的像素规则是否可以实现像 taro 那样,即小程序编译成 rpx、h5 编译成 rem

Open qq31311137 opened this issue 2 years ago • 1 comments

目前在小程序编译后单位默认还是 rem,是否可以判断不同的端分别编译成 rpx 或 rem

qq31311137 avatar Apr 12 '22 07:04 qq31311137

可以试试 unocss https://github.com/MellowCo/unocss-preset-weapp/tree/main/examples/taro_webpack4_vue3

MellowCo avatar Nov 15 '22 01:11 MellowCo