We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
比如mt-2,现在转换为margin-top:16rpx,能否转换为:margin-top:2rpx。
The text was updated successfully, but these errors were encountered:
自己覆盖就行
rules: [ [/^m-(\d)$/, ([, d]) => ({ margin: `${d}rpx` })], ],
Sorry, something went wrong.
感谢您的解答
//unocss.config.ts import { DefineConfig } from 'unocss' export default DefineConfig({ // 其他配置项... rules: [ [/^m-(\d)$/, ([, d]) => ({ margin: ${d}rpx})], ], // 其他配置项项... })
好多要處理的
No branches or pull requests
比如mt-2,现在转换为margin-top:16rpx,能否转换为:margin-top:2rpx。
The text was updated successfully, but these errors were encountered: