RealFaviconGenerator / gulp-real-favicon

Gulp plugin to generate a multiplatform favicon with RealFaviconGenerator
76 stars 6 forks source link

Specify start url #22

Closed bjarnef closed 3 years ago

bjarnef commented 5 years ago

How do I specify the start_url in the generated site.webmanifest e.g. used in Chrome?

image

pverhaert commented 3 years ago

Just add startUrl to the manifest manifest: { name: 'My App, startUrl: '/', display: 'standalone', ... },

bjarnef commented 3 years ago

Okay, I guess it just wasn't documented at the time of writing and not generated from here: https://realfavicongenerator.net/favicon/gulp

Chrome is warning about missing name, short_name, short_url fields, but it seems only name is required: https://developer.mozilla.org/en-US/docs/Web/Manifest/name