我没有得到这个。我们需要在反应项目中添加短名称。
使Web App Manifest中的short_name属性少于12个字符。
{ ... " short_name":" Air Horner", ... }
答案 0 :(得分:0)
您需要将其添加到public \ manifest.json文件
{
"short_name": "React App",
"name": "Create React App Sample",
"icons": [
{
"src": "favicon.ico",
"sizes": "192x192",
"type": "image/png"
}
],
"start_url": "./index.html",
"display": "standalone",
"theme_color": "#000000",
"background_color": "#ffffff"
}
https://developers.google.com/web/fundamentals/web-app-manifest/