Option to turn off PWA generation
See original GitHub issueWhat problem does this feature solve?
If building for multiple targets, some of them might not support PWA. It would be great to have an option to turn off the functionality
What does the proposed API look like?
Currently the only way is to use a env var VUE_CLI_BUILD_TARGET
different to app
: https://github.com/vuejs/vue-cli/blob/dev/packages/%40vue/cli-plugin-pwa/index.js#L4
This line could e.g. be changed to:
if (target && target !== 'app' || options.pwa.off === true) {
return
}
Issue Analytics
- State:
- Created 4 years ago
- Reactions:1
- Comments:8 (2 by maintainers)
Top Results From Across the Web
Disabling Service Worker and Progressive Web App (PWA)
You can disable the Service Worker and the Progressive Web App (PWA) in Malibu if you are not interested in sharing your content...
Read more >Progressive Web Apps - web.dev
Overview. In this collection, you'll learn what makes a Progressive Web App special, how they can affect your business, and how to build...
Read more >ASP.NET Core Blazor Progressive Web Application (PWA)
Learn how to build a Blazor Progressive Web Application (PWA) that use modern browser features to behave like a desktop app.
Read more >Progressive web apps (PWAs) - MDN Web Docs - Mozilla
Progressive Web Apps landing page and check list on web.dev · Progressive Web ... to power a "production-ready" service worker for your PWA...
Read more >Getting Started With Progressive Web Apps (PWA)
The user will have the option to add our PWA to the home screen of a ... are needed we can make use...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
config.plugins.delete(‘pwa’); config.plugins.delete(‘workbox’);
I think this makes sense. I’ll do make a PR.