【问题标题】:How can I remove the React App symbol and name or the "Website created using create-react-app"?如何删除 React App 符号和名称或“使用 create-react-app 创建的网站”?
【发布时间】:2021-04-04 13:40:40
【问题描述】:

我已经使用 Firebase 托管部署了我的网站。每次我访问该站点时,我的浏览器选项卡上仍然有 React App 这个名称。我必须购买域名才能摆脱它吗?

【问题讨论】:

  • 您在寻找favicon吗? <title> 标签见this

标签: reactjs google-cloud-firestore


【解决方案1】:

您可以更改公共目录中index.html 页面的标题。对于自定义图标,您可以更改位于公共目录中的 favicon。

【讨论】:

    【解决方案2】:

    只需转到您的 React 应用程序的 /public 文件夹,然后将 index.html 文件中的 <title> React App </title> 更改为您网站的标题即可。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2019-09-22
      • 2021-01-19
      • 2018-09-20
      相关资源
      最近更新 更多