splash-screen-generator
Generates splash screens for your PWA's!
Installation
$ npm install splash-screen-generator
Usage
const ssg =/*[...{ href: '/splash/i-pad-retina-portrait-768-1024@1x.png',media: '(device-width: 768px) and (device-height: 1024px) and (-webkit-device-pixel-ratio: 1) and (orientation: portrait)',rel: 'apple-touch-startup-image' },...]*/
Use it with Nuxt
// nuxt.config.jsmoduleexports =...head:link:...
TODO
- Add more formats
- Add position support for logo