Loop this in at a web page like so inside the head tag:
<link rel="manifest" href="manifest.json">
It is a file full of metadata about the page. An example might be:
{
"name": "FunStuff",
"short_name": "FunStuff",
"theme_color": "#1976d2",
"background_color": "#fafafa",
"display": "standalone",
"scope": "/",
"start_url": "/",
"icons": [
{
"src": "assets/icons/icon-72x72.png",
"sizes": "72x72",
"type": "image/png"
},
{
"src": "assets/icons/icon-96x96.png",
"sizes": "96x96",
"type": "image/png"
}
]
}
No comments:
Post a Comment