Feature: Add PWA settings

This commit is contained in:
winkidney
2019-12-18 23:54:58 +08:00
parent 50266a6acc
commit af32fb3901
7 changed files with 1629 additions and 2485 deletions

View File

@@ -16,4 +16,19 @@ module.exports = {
},
},
},
pwa: {
name: 'Pinry Mobile',
appleMobileWebAppCapable: 'yes',
appleMobileWebAppStatusBarStyle: 'black',
// configure the workbox plugin
workboxPluginMode: 'GenerateSW',
iconPaths: {
favicon32: 'favicon.png',
favicon16: 'favicon.png',
appleTouchIcon: 'favicon.png',
// FIXME(winkidney): Add svg file for safari
// maskIcon: 'img/icons/safari-pinned-tab.svg',
msTileImage: 'favicon.png',
},
},
};