与 tailwind-merge 一起使用 #341
fanhaoyuan
started this conversation in
General
Replies: 1 comment
-
这个问题,其实需要让 tailwind-merge 去支持一下自定义转换的一套机制,这样就可以做到了 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
因为在 weapp-tailwindcss 转换之后的类名从
mt-[4px]
->mt-_4px_
, tailwind-merge 在解析合并这些 jit 类名会以[
和]
这样来匹配,这样的情况应该如何处理Beta Was this translation helpful? Give feedback.
All reactions