我有manifest.json并添加到我的HTML中<link rel="manifest" href="./manifest.json">
。
我认为一切都很好,但我不明白为什么 chrome 开发工具无法检测到我的清单!
我的manifest.json:
{
"name": "Arman News",
"short_name": "Ar News",
"description": "This is my first try to make PWA webstie.",
"theme_color": "#ffffff",
"background_color": "#ffffff",
"display": "standalone",
"Scope": "/",
"start_url": ".",
"icons": [
{
"src": "img/icons/Icon-192.png",
"sizes": "192x192",
"type": "image/png"
},
{
"src": "img/icons/Icon-512.png",
"sizes": "512x512",
"type": "image/png"
}
],
"splash_pages": null
}