PWA does not work with workbox / typescript (maybe a feature request?)
See original GitHub issueDescribe the bug Want to implement custom-service-worker using workbox recipies.
Codepen/jsFiddle/Codesandbox (required) Sample repository: https://github.com/sluedecke/quasar-pwa-test
To Reproduce Steps to reproduce the behavior:
- Clone repository above
- run
yarn install
- run
quasar build --mode pwa
Expected behavior Project builds without errors
Screenshots If applicable, add screenshots to help explain your problem.
Platform (please complete the following information):
Operating System - Linux(5.10.7-arch1-1) - linux/x64 NodeJs - 15.6.0 Global packages NPM - 6.14.11 yarn - 1.22.10 @quasar/cli - 1.1.3
Additional context This has also been discussed here:
Issue Analytics
- State:
- Created 3 years ago
- Comments:10 (2 by maintainers)
Top Results From Across the Web
Ultimate Guide to PWAs with Workbox
This post is a complete guide to building a Progressive Web App (PWA) from the beginning using Google's Workbox. By the end of...
Read more >Build A PWA With Webpack And Workbox - Smashing Magazine
This tutorial will help you transform an app that doesn't work offline into a PWA that works offline and shows an update available...
Read more >next-pwa - npm
After running next build , this will generate two files in your public : workbox-*.js and sw.js , which will automatically be served...
Read more >Create a service worker with Workbox, Webpack and TypeScript
When you install an update of a service worker, the new one will not be used until you close all the tabs already...
Read more >Service worker not generated when building vue 3
I found the problem, @vue/cli-plugin-pwa will only generate service-worker if process.env.NODE_ENV === 'production' . meanwhile in my project, when i run ...
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
As time will allow me, I’ll backport to Quasar v1 as well.
@rstoenescu
Migration path to Quasar v2 is a bit too heavy for our application now, but using TS in
src-pwa
would be a great improvement for the quality of our project!Is it possible to help to backport the feature to Quasar v1?