@yyx990803 and I have talked about working on an official PWA template for Vue 📱
There are a few different options for what this could include:
- Web Application Manifest
- Default favicons (minimalist setup from realfavicongenerator.net)
- Service Worker precaching + runtime caching via
sw-precache-webpack-plugin
- Application Shell architecture
- Code-splitting by default with vue-router
If we wanted to go even more ambitious we could cover:
- PRPL pattern support (using something like
preload-webpack-plugin)
- Simple server-side rendering + pre-fetching
- CSS extraction for production
Requirements
- Aim to score as close to 100/100 on Lighthouse
- Must be straight-forward to use. If we make it inherently complex, it will lose value to end users.
Prior-art - PWA templates and boilerplates 🎨
Vue.js PWAs (open-source) 👐
Other references 📚
Initially, I would love to get a feel for what would considered palatable for an MVP. There's technically nothing stopping us baking in everything in the above list, but let's talk and figure out a path forward 🚀
@yyx990803 and I have talked about working on an official PWA template for Vue 📱
There are a few different options for what this could include:
sw-precache-webpack-pluginIf we wanted to go even more ambitious we could cover:
preload-webpack-plugin)Requirements
Prior-art - PWA templates and boilerplates 🎨
Vue.js PWAs (open-source) 👐
Other references 📚
Initially, I would love to get a feel for what would considered palatable for an MVP. There's technically nothing stopping us baking in everything in the above list, but let's talk and figure out a path forward 🚀