pwa-module
pwa-module copied to clipboard
Disable manifest and meta
I would like to use this project just for the service worker and nothing else. The manifest and meta information need to be custom and change at runtime for my project.
There doesn't seem to be any way of doing this at the moment. Should this project be split up into seperately installable modules?
You can disable the individual modules with false
.
from the docs:
PWA module is a collection of smaller modules that are designed to magically work out of the box together. To disable each sub-module, you can pass false option with its name as key. For example to disable icon module:
{
pwa: {
icon: false // disables the icon module
}
}
More info here: https://pwa.nuxtjs.org/setup#configuration
To disable the manifest and meta you can do this:
pwa: {
icon: false,
manifest: false,
meta: false
},