title: Vue Cli 3 how to use the official PWA plugin ( Service Worker )
body: <p>on my first vue project attempting to wrestle with the official PWA plugin  ( <a href="https://github.com/yyx990803/register-service-worker" rel="noreferrer">https://github.com/yyx990803/register-service-worker</a> ).
  My specific problem: capturing the registered service worker and using it for anything. The github readme shows the exact file that is produced, and there seems to be zero documentation about how to work with this service worker once it is instantiated ( do I capture the registration instance? if so, how? ) </p>
  
  <p>I found this issue: <a href="https://github.com/vuejs/vue-cli/issues/1481" rel="noreferrer">https://github.com/vuejs/vue-cli/issues/1481</a> 
  and am providing a better place to talk about this, as I haven't been able to find any example code or clear documentation about how to work with this.</p>
  
  <p>If anyone has some sample code, please share. Vue and the new cli are incredible tools, documenting things like this is a necessary step forward to increasing the adoption of the platform</p>