可以忽略某个地方的转义吗?类似 eslint-ignore #577
-
某些地方需要保持原来的字符串,不转义,有办法吗? |
Beta Was this translation helpful? Give feedback.
Answered by
sonofmagic
Mar 13, 2025
Replies: 1 comment
-
可以的 https://tw.icebreaker.top/docs/options/comments, 当然你也可以直接引入: import { weappTwIgnore } from 'weapp-tailwindcss/escape'
// 然后
const x = weappTwIgnore`这里是你不需要转义的字符串` 甚至你还能通过 ignoreTaggedTemplateExpressionIdentifiers 批量配置你需要的忽略标识符 |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
boringplay
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
可以的 https://tw.icebreaker.top/docs/options/comments, 当然你也可以直接引入:
甚至你还能通过 ignoreTaggedTemplateExpressionIdentifiers 批量配置你需要的忽略标识符
@boringplay