【问题标题】:What is the difference between Material Design Components & Polymer's Web Components?Material Design Components 和 Polymer 的 Web Components 有什么区别?
【发布时间】:2019-02-09 18:43:13
【问题描述】:

Material.io

https://material.io/ 网站(Google 官方规范?),当我按照路径访问“Material Design UI”网络组件时,我最终来到了这里:

https://github.com/material-components/material-components-web/

聚合物项目

https://www.polymer-project.org/ 网站,当我按照路径访问“Material Web Components”时,我最终到了这里:

https://github.com/material-components/material-components-web-components

我不明白这些组件集之间的区别,但想在我正在创建的网络应用程序中使用“官方”谷歌网络组件。

【问题讨论】:

    标签: polymer material-design material-components material-components-web mdc-components


    【解决方案1】:

    The Polymer Project 由 Google Chrome 开发人员团队领导,并利用 custom web components 等功能为开发人员提供构建渐进式网络应用程序的平台。 Material Components for the web 是一个开源组件库,同样由 Google 开发人员和设计人员主导,但它的重点更具体一点是为开发人员提供 Material Design UI 组件。

    Polymer Project 早于 Web 的 Material Components(以及 Material Design Lite,Web 的 Material Components 的前身)和 Material Components for the web is part of the recommended toolkit for the next evolution of the Polymer Project。从这个意义上说,Web 的 Material Components 在某种程度上是 Polymer Project 的一部分(但它不是完全替代品)。

    听起来您主要在寻找由 Google 开发人员创建的 Material Design UI 组件,因此 Web 的 Material Components 可能就是您所追求的。

    【讨论】:

    • 谢谢你帮助澄清事情。听起来这主要是 PWA 与“标准”网络应用程序的区别,尽管听起来 Polymer 正在向网络材料组件发展(根据您的最后一个链接)。
    • @benvc 关于 MDC Web 是下一个 Polymer 的推荐工具包的声明,你有参考吗?您的答案包含的链接没有说明这一点。
    • @G.Tranter - 抱歉,不知道我是如何搞砸了那个链接的。使用更正的链接编辑了答案(向下滚动到“元素”部分以直接剪切到您要查找的部分)。
    猜你喜欢
    • 2017-03-06
    • 1970-01-01
    • 1970-01-01
    • 2019-10-19
    • 1970-01-01
    • 2019-01-22
    • 2018-04-24
    • 2019-12-26
    • 2019-02-22
    相关资源
    最近更新 更多