So after all the caffaffling about last time, I realised after reading more on the topic that workbox has a wizard I could have used to generate a workbox config (which in turn could be used to generate the actual service worker file). I had been abstracted from all this because I was using the vue-cli. So I never needed to run
workbox wizard --injectManifest or its non-interactive equivalent,
workbox injectManifest path/to/config.
I also didn't have to meddle with configuring precaching or picking cacheing strategies, because (at least for trivial cases) the v3 vue-cli does all of this for you, under the hood, and injects your service worker file with the needed precaching code so that you can focus on the business logic of your worker, such as talking to a database. To wit:
I was poking around in the dev console learning how to get service workers to write to indexeddb:
Also Also: I managed to create a database and populate it (squee!!) thanks to the excellent workbox lab tutorial....
All the heavy lifting I was gonna do has already been done by some enterprising folks:
So Good Golly, Miss Molly! You don't have to reinvent a single kot tam wheel!!!
Methinks I know how to finish my current ticket now...