Vue JS - PWA Template
# install dependencies
npm install
# serve with hot reload at localhost:8080
npm run dev
# build for production with minification
npm run build
# build for production and view the bundle analyzer report
npm run build --report
NOTE: Test on mobile devices: npm run dev, open new console and run ngrok http 8080. Open generated url on mobile device.service-worker will be loaded up on build.
For detailed explanation on how things work, checkout the guide and docs for vue-loader.