Open OrandiH opened 2 years ago
@OrandiH We may need to explore converting this vue.config.js file into a webpack.config.js file since that's where we are headed to after the migration in v2.2.0
The workbox caching strategy should also have an option for online first vs offline first application. Also does the OP want to support code splitting via webpack chunked loading?
The scaffolded project made by RDVue should have an option to support PWAs as well. We could probably do this through the use of plugins similar to how we do the support for vuetify and buefy as well. Effectively we would need to have the following:
Attached are screenshots of the first two items and then the icons that are appropriate.
![icon-72x72](https://user-images.githubusercontent.com/12148595/171051932-f5c1225b-1452-4d09-ad7b-a7173187e00e.png)
Service worker code snippet (src/service-worker.js)
vue.config.js setup for pwa