I have created a package that supports on pwa and spa modes.
You will need to add the pwa mode to your quasar app. then modify the
src-pwa/register-service-worker.js to register
The package will create a
OneSignalSDKWorker.js at the root of your app with the following content