sonofmagic / weapp-tailwindcss

bring tailwindcss to weapp ! 把 `tailwindcss` 原子化**带入小程序开发吧 ! 原 `weapp-tailwindcss-webpack-plugin`

Home Page:https://weapp-tw.icebreaker.top

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

mudssky opened this issue · comments

描述这个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.

运行环境

  • OS: [e.g. iOS]
  • Nodejs: 16x
  • Framework: uni-app/taro/remax/rax

Additional context
Add any other context about the problem here.

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