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

移动端组件的预览模式不生效 #31

Open
xinlanlan opened this issue Jan 8, 2024 · 0 comments
Open

移动端组件的预览模式不生效 #31

xinlanlan opened this issue Jan 8, 2024 · 0 comments
Labels

Comments

@xinlanlan
Copy link

💻 系统环境 | Operating System

Windows

🌐 浏览器 | Browser

Chrome

🐛 问题描述 | Bug Description

export default { themeConfig: { // 配置高清方案,默认为 750 高清方案 hd: { rules: [...], }, // 配置 demo 预览器的设备宽度,默认为 375px deviceWidth: 375, }, }
不能像官网一样的样式生效: https://d.umijs.org/guide/mobile-library#%E6%95%88%E6%9E%9C%E9%A2%84%E8%A7%88

🚦 期望结果 | Expected Behavior

No response

📷 复现步骤 | Recurrence Steps

No response

📝 补充信息 | Additional Information

No response

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

No branches or pull requests

1 participant