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

taro-ui-vue 组件使用构建为 h5 应用时,px 未转换为 rem #7709

Closed
lgh757079506 opened this issue Sep 24, 2020 · 3 comments
Closed
Labels
F-vue2 Framework - Vue 2 T-h5 Target - 编译到 H5 V-3 Version - 3.x

Comments

@lgh757079506
Copy link

相关平台

H5

复现仓库

[email protected]:NervJS/taro-ui.git
浏览器版本: chrome 最新
使用框架: Vue 2

复现步骤

最新版本新建一个项目直接构建即可重现

期望结果

期望taro-ui的组件也会将px转成rem

实际结果

实际还是px

环境信息

� Taro v3.0.11


  Taro CLI 3.0.11 environment info:
    System:
      OS: Windows 10
    Binaries:
      Node: 10.16.3 - D:\node\node.EXE
      Yarn: 1.17.3 - ~\AppData\Roaming\npm\yarn.CMD
      npm: 6.9.0 - D:\node\npm.CMD
@taro-bot2 taro-bot2 bot added F-vue2 Framework - Vue 2 T-h5 Target - 编译到 H5 V-3 Version - 3.x labels Sep 24, 2020
@lgh757079506
Copy link
Author

自己写的组件会转换为rem

@xyz-fish
Copy link
Contributor

我刚刚看了 taro-ui-vue 的代码 是taro-ui-vue的问题

@tu6ge
Copy link
Contributor

tu6ge commented Aug 14, 2021

最新版还有问题吗

@Chen-jj Chen-jj closed this as completed Oct 28, 2021
@ZakaryCode ZakaryCode moved this to Done in H5 Apr 10, 2023
@ZakaryCode ZakaryCode added this to H5 Apr 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
F-vue2 Framework - Vue 2 T-h5 Target - 编译到 H5 V-3 Version - 3.x
Projects
Archived in project
Development

No branches or pull requests

4 participants