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
编译为 app 平台时为将 rem 单位转换为 rpx
uno.config.ts
import { defineConfig } from 'unocss' import { presetUni } from '@uni-helper/unocss-preset-uni' export default defineConfig({ presets: [ presetUni({ remRpx: { baseFontSize: 2 }, attributify: { deleteAttributes: false } }) ] })
uni: 3.0.0-alpha-3081220230802001 @uni-helper/unocss-preset-uni: 0.2.9
yarn
The text was updated successfully, but these errors were encountered:
你好,可以提供一下最小复现?这样才得以确认问题,谢谢
Sorry, something went wrong.
新建项目,使用我提供的版本和 uno.config.ts 即可
No branches or pull requests
描述问题
编译为 app 平台时为将 rem 单位转换为 rpx
复现
uno.config.ts
系统信息
uni: 3.0.0-alpha-3081220230802001
@uni-helper/unocss-preset-uni: 0.2.9
使用的包管理器
yarn
核对
The text was updated successfully, but these errors were encountered: