Skip to content

Instantly share code, notes, and snippets.

@ericelliott
Created November 8, 2016 00:35
Show Gist options
  • Save ericelliott/90602152915b615b761c113f82243146 to your computer and use it in GitHub Desktop.
Save ericelliott/90602152915b615b761c113f82243146 to your computer and use it in GitHub Desktop.
Sample manifest.json
{
"name": "My Progressive Web Application",
"short_name": "Progressive",
"start_url": "/?home=true",
"icons": [
{
"src": "/icons/icon36.png",
"sizes": "36x36",
"type": "image/png"
},
{
"src": "/icons/icon48.png",
"sizes": "48x48",
"type": "image/png"
},
{
"src": "/icons/icon60.png",
"sizes": "60x60",
"type": "image/png"
},
{
"src": "/icons/icon72.png",
"sizes": "72x72",
"type": "image/png"
},
{
"src": "/icons/icon76.png",
"sizes": "76x76",
"type": "image/png"
},
{
"src": "/icons/icon96.png",
"sizes": "96x96",
"type": "image/png"
},
{
"src": "/icons/icon120.png",
"sizes": "120x120",
"type": "image/png"
},
{
"src": "/icons/icon152.png",
"sizes": "152x152",
"type": "image/png"
},
{
"src": "/icons/icon180.png",
"sizes": "180x180",
"type": "image/png"
},
{
"src": "/icons/icon192.png",
"sizes": "192x192",
"type": "image/png"
},
{
"src": "/icons/icon512.png",
"sizes": "512x512",
"type": "image/png"
}
],
"theme_color": "#000000",
"background_color": "#FFFFFF",
"display": "fullscreen",
"orientation": "portrait"
}
@Mds92
Copy link

Mds92 commented Apr 11, 2018

Thanks,
What about splash_pages?
Could you please write a sample about it?

@samuelajala01
Copy link

Awesome

@Bousbihfatouma
Copy link

bonjour , je comprends pas comment ont peux générer son manifest.json . J'ai un fichier build et j'ai fais toutes les commandes dans le terminal et mon site affiche An exception has been thrown during the rendering of a template ("Asset manifest file "C:\wamp64\www\illustretonart/public/build/manifest.json" does not exist. Did you forget to build the assets with npm or yarn?").

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment