Javascript 如何使用webpack和manifest.json为Android创建react web应用程序
我的webapp使用react+webpack 使用“离线插件”,它将创建一个用于静态缓存的服务工作者和清单 拼图的最后一块是创建manifest.json,在Android上启动屏幕 我已将以下链接添加到清单:Javascript 如何使用webpack和manifest.json为Android创建react web应用程序,javascript,reactjs,web-applications,webpack,Javascript,Reactjs,Web Applications,Webpack,我的webapp使用react+webpack 使用“离线插件”,它将创建一个用于静态缓存的服务工作者和清单 拼图的最后一块是创建manifest.json,在Android上启动屏幕 我已将以下链接添加到清单: <link rel="manifest" href="/manifest.json"> { "short_name": "Kinlan's Amaze App", "name": "Kinlan's Amazing Application ++", "icon
<link rel="manifest" href="/manifest.json">
{
"short_name": "Kinlan's Amaze App",
"name": "Kinlan's Amazing Application ++",
"icons": [
{
"src": "launcher-icon-2x.png",
"sizes": "96x96",[enter link description here][2]
"type": "image/png"
},
{
"src": "launcher-icon-3x.png",
"sizes": "144x144",
"type": "image/png"
},
{
"src": "launcher-icon-4x.png",
"sizes": "192x192",
"type": "image/png"
}
],
"start_url": "/index.html",
"display": "standalone",
"orientation": "landscape"
}