Quantcast
Channel: Ionic Framework - Ionic Forum
Viewing all articles
Browse latest Browse all 48980

Ionic PWA Offline unable to load lazy loaded modules

$
0
0

We have an Angular 12 application which Ionic has been added to. We are using Ionic components within the application such as Modules, Popovers, Toasts, Buttons, Grids etc. The application is a website as well as can be used as a PWA. We are running into an issue with the PWA when it is offline. If in an offline state, clicking on a button that would normally show a popover fails. It is attempting to “Loading Chunk” from localhost:4300.

This is being tested via ionic serve and chrome in an offline state. Is there a way to preload components and their javascripts (which are usually lazy loaded) upon initial load of the application?

1 post - 1 participant

Read full topic


Viewing all articles
Browse latest Browse all 48980

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>