如何从链接中删除“使用 create-react-app 创建”?

Mak*_*a M 0 javascript reactjs react-native create-react-app

我试图将指向我的投资组合的链接发布到linkedin,它总是显示“使用react app创建的网站”作为描述,这绝对不会让它看起来很专业。它部署在我的域中,但有什么方法可以摆脱域链接上的所有 create-react-app 默认内容?

小智 8

更改公共文件夹中 index.html 文件中的描述和标题,然后重新构建您的应用程序

  <head>
<meta charset="utf-8" />
<link rel="icon" href="%PUBLIC_URL%/favicon.ico" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="theme-color" content="#000000" />
<meta
  name="description"
  content="Web site created using create-react-app"
/>
<link href="https://fonts.googleapis.com/css?family=Muli:300,400,600,700" rel="stylesheet">

<title>React App</title>
Run Code Online (Sandbox Code Playgroud)