Skip to content
New issue

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

请问项目里在哪里处理的px自动转成rem的? #14

Open
axiang12 opened this issue Dec 11, 2019 · 2 comments
Open

请问项目里在哪里处理的px自动转成rem的? #14

axiang12 opened this issue Dec 11, 2019 · 2 comments

Comments

@axiang12
Copy link

在less文件中都是用px写的, 在浏览器中发现都自动转成了rem格式, 请问这一步是有特殊处理吗?

@wangYalun
Copy link

同问,我也遇到这样的困惑,再iframe中引用的画会有问题。

@wangYalun
Copy link

哦,我知道了,是在umi-plugin-react 中将hd 设置为true 就会自动转

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants