Zero config PWA solution for Nuxt.js
MIT License
Bot releases are hidden (Show)
If you was previously using workbox.clientsClaim: false
option in nuxt.config
to handle uncaught error
, you have to revert it because disabling makes caching issues
mergeMeta
cjs export (774f1a8) (resolves #369)strategyPlugins
(#337)theme_color
(#344) (a18a79f) (resolves #223)router.base
prefix to favicon (#354) (3e910ae)appleStatusBarStyle
without mobileAppIOS
(b0f226a) (resolves #338)purpose
option and defaulting to any maskable
5.x
any maskable
(30f0f63)options.cacheDir
(f8dbf1d)favicon.ico
when available with warning (#258) (7a48d2a)accessibleIcons
to iconPlugin
(3e175f9)iconSrc
, iconFileName
, iconPlugin
and iconProperty
to source
, fileName
, plugin
and pluginName
enabled
option and self destroying sw (c64226c)manifest.fileName
with template (f05353b), closes #193
useWebmanifestExtension
option and improve docs (#241) (4484e6c)pwa.manifest.display: 'browser'
(#249)icon.md
(#253)CacheFirst
instead of cacheFirst
(#251)workbox.swDest
(#285)cacheDir
when generating icons (1e6eb19)iconSrc
, iconFileName
, iconPlugin
, iconProperty
, accessibleIcons
(see docs)any maskable
by default which means you have to consider minimum safe-zone (read more)This release contains LOTS of internal improvements!
@nuxtjs/meta
, ...)17.1MB
to 1.42MB
thanks to https://github.com/nuxt-community/jimp-compact
pwa
key in nuxt.config.js
: (except one signal module) and older option may be deprecated in future versions.export default {
modules: [
'@nuxtjs/pwa'
],
pwa: {
icon: {},
manifest: {},
meta: {},
workbox: {},
}
}
offlineStrategy
changed from NetworkOnly
to NetworkFirst
when offlinePage
is enabled