Previously the Workbox module cached most of the app's assets for offline use, but not the main page, resulting in a "No internet" page when loading the app offline. This PR should fix that, and it also adjusts the workings of the service worker and icon generator to output into the public folder instead of the build directory (since Nuxt 3.5.x files in the build folder aren't copied into the final dist folder anymore).
Previously the Workbox module cached most of the app's assets for offline use, but not the main page, resulting in a "No internet" page when loading the app offline. This PR should fix that, and it also adjusts the workings of the service worker and icon generator to output into the
public
folder instead of the build directory (since Nuxt 3.5.x files in the build folder aren't copied into the finaldist
folder anymore).