A Progressive Web Application with Vue JS, Webpack & Material Design [Part 3]
Charles Bochet

So, I got this to work, finally, on a mobile device.

Some notes:

  1. The first section of this (the generated service-worker files) is all changed. Nothing makes sense until you get to the part where you make the webpack.prod.conf.js changes.
  2. You MUST change all urls to ‘https’, for them to be cached — no exceptions!! In the example app, there are a few ‘http’ requests hanging around — notably the ‘tumblr’ references.
  3. For some reason, the mdl icons would not cache in desktop Chrome. They cache fine on mobile Chrome.


Like what you read? Give Garrick Berger a round of applause.

From a quick cheer to a standing ovation, clap to show how much you enjoyed this story.