question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

PWA does not work with workbox / typescript (maybe a feature request?)

See original GitHub issue

Describe 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:

  1. Clone repository above
  2. run yarn install
  3. 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:closed
  • Created 3 years ago
  • Comments:10 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
rstoenescucommented, Feb 27, 2021

As time will allow me, I’ll backport to Quasar v1 as well.

0reactions
dlecancommented, Mar 30, 2021

@rstoenescu

As time will allow me, I’ll backport to Quasar v1 as well.

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?

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found