You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After installing the angular PWA service worker the Chrome Dev module shows the err in ngsw-worker.js:2353) it expects a json as param for return res.json();.
2nd I needed to include the manifest.json into angular.json and link to it from index. Also, I had to define the meta theme-color. A guide can be found: https://www.smashingmagazine.com/2018/09/pwa-angular-6/
This wasn't done automatically by ng add.
🐞 Bug report
Command
Description
After installing the angular PWA service worker the Chrome Dev module shows the err in
ngsw-worker.js:2353)
it expects a json as param forreturn res.json();
.🔬 Minimal Reproduction
configured icons in manifest, set name, shortname and theme (probably optional)
Added to maint.ts (see issue):
🔥 Exception or Error
🌍 Your Environment
Browser: Chrome: Version 73.0.3683.103 (Offizieller Build) (64-Bit)
Mac OS - 10.14.4
The text was updated successfully, but these errors were encountered: