【问题标题】:How to use web component into React Js?如何在 React Js 中使用 Web 组件?
【发布时间】:2019-05-20 17:10:56
【问题描述】:

目前我对 web 组件相关的东西一无所知

我的最终目标是我想在 react js 项目中使用 google material 组件?

这里有 google material web 组件可用

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

如何在 react js 中使用 web 组件?

谢谢

J.Jayaprakash。

【问题讨论】:

  • 这个问题太宽泛了。为什么选择github.com/material-components/material-components-web?有 React 的 Material 库,你检查了吗?
  • 是的,我检查了这么多 UI Libray 可用,但我们只需要使用谷歌材料组件,所以我选择了。 github.com/material-components/material-components-web-react
  • 如果你想用 React 做这个,你可以使用 Material UI 或 material-components-web-react。为什么要使用 Web 组件?
  • 目前没有人进入 Web 组件,这就是我询问 Web 组件的原因。它在踩吗?
  • 征求意见与 SO 无关。但根据我的经验,Web Components 是可行的选择,但远非组件的事实标准。如果您对流行技术感兴趣,可以查看 Google 趋势。

标签: html reactjs css material-ui


【解决方案1】:

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2022-09-23
    • 2023-03-25
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2022-12-12
    • 2020-02-28
    相关资源
    最近更新 更多