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