Description
/cc @addyosmani @jeffposnick @sudo-suhas
So, I've been working pretty hard on the next version of vue-cli
, which uses a completely plugin-based architecture, and the PWA functionalities are now fully isolated in its own module: https://github.com/vuejs/vue-cli/tree/next/packages/%40vue/cli-plugin-pwa
A brief intro for the plugin API: index.js
is the runtime plugin that will be loaded when users run npm run serve
or npm run build
. generator
contains a module that will be invoked when the user scaffolds the project with the global vue
command. The API should be pretty explanatory, and seems to cover most use cases. But any feedback is greatly appreciated.
Our previous PWA template is a fork of the main webpack template and has trouble keeping up with the upstream changes. This new setup should greatly reduce the maintenance scope for PWA-related features in the future.
After the launch of vue-cli
3.0, we should deprecate the pwa template and move all collaborations under the plugin instead.