rioshikelong121

react 技术栈目前有哪些好用的 UI 组件库是同时支持 Mobile 端和 PC 端网页的?

  •  
  •   rioshikelong121 · Apr 21, 2020 · 2828 views
    This topic created in 2236 days ago, the information mentioned may be changed or developed.

    PC 端就是正常的后台管理系统,Mobile 端网页会有一些表单需要用户去填写。 因为在 PC 端需要预览为用户定制的 Form,所以希望 PC 端和 Mobile 端尽可能使用相同样式的组件库。

    目前在考虑的几个方案:

    1. antd (pc & mobile)

      缺点:antd 不官方支持移动端,所以需要自己做一些适配,移动端出现问题的几率感觉会大一些。

    2. antd & antd mobile

      缺点:antd mobile 的更新好像不太活跃,并且 antd 已经到了 v4,antd mobile 的样式看上去不那么有吸引力。 从开发的角度来看,同时使用两个组件库的体验是比较割裂的。

    3. material-ui (pc & mobile)

      material 是 mobile first 的,所以 pc 和 mobile 用一套组件库就可以了。

      缺点: 但是 css in js 的形式我个人不太喜欢,另外 material-ui 的封装程度比 antd 要低,ui 上的风格特征比 antd 更强烈一些。

    各位有什么好的建议么?

    2 replies    2020-04-21 11:04:55 +08:00
    Arisky
        1
    Arisky  
       Apr 21, 2020
    成年人全都要。用两套,管理系统
    ccyu220
        2
    ccyu220  
       Apr 21, 2020
    antd & antd mobile,比较稳。material-ui 的风格国内其实不太感冒的,起码很多人不喜欢。
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   2820 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 54ms · UTC 01:23 · PVG 09:23 · LAX 18:23 · JFK 21:23
    ♥ Do have faith in what you're doing.