【问题标题】:Is it safe to delete the manifest.json file that comes bundled with create-react-app删除与 create-react-app 捆绑在一起的 manifest.json 文件是否安全
【发布时间】:2021-10-12 10:10:20
【问题描述】:

我是 React 开发的新手。我读过manifest.json 文件包含有关Web 应用程序的信息,在某些情况下它可能很有用。但是,要问的是删除它是否安全。

【问题讨论】:

    标签: javascript reactjs


    【解决方案1】:

    有关清单用途的信息,this answer 可能会帮助您,但要回答您的问题:

    是的,您应该完全可以删除 manifest.json 以及 public/index.html 中的 <link rel="manifest" href="%PUBLIC_URL%/manifest.json" />,只要您不介意失去上面链接的好处。

    【讨论】:

    • 所以我将失去很多移动优势。好的,感谢您花时间回答。
    猜你喜欢
    • 2021-05-08
    • 1970-01-01
    • 2017-12-24
    • 2021-03-16
    • 1970-01-01
    • 2018-11-07
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多