sonofmagic / weapp-tailwindcss

weapp-tailwindcss - bring tailwindcss to weapp ! 把 tailwindcss 原子化思想带入小程序开发吧 ! weapp-vite 把现代化的开发模式带入小程序开发
https://weapp-tw.icebreaker.top
MIT License
1.2k stars 87 forks source link

taro3.6默认模板,按照文档使用postcss-rem-to-responsive-pixel,会导致h5的px转为rpx,样式不生效 #238

Closed mudssky closed 11 months ago

mudssky commented 11 months ago

描述这个Bug A clear and concise description of what the bug is.

代码url

可提供转化失败的 wxml,js,wxss 这类的产物, 可以直接复制粘贴在此处,或者提供 url

如何重现 Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

期望行为(可选) A clear and concise description of what you expected to happen.

屏幕截图(可选) If applicable, add screenshots to help explain your problem.

运行环境

Additional context Add any other context about the problem here.

mudssky commented 11 months ago

我又装了tailwindcss-rem2px-preset这个插件,配置后在h5和微信小程序都是正常的。 之后我注释掉切回去想复现问题截图,发现又正常了,没有复现出来