Tincan
Explore posts from servers(fixed) Cannot get esling.config.mjs to generate when installing eslint module
@kapa.ai ive installed stylelint nuxt module and when i run pnpm dev, im getting a no config provided for a vue file. Stylelint nuxt module should not be running on vue files by default
11 replies
(fixed) Cannot get esling.config.mjs to generate when installing eslint module
Fixed. I delete the eslint.config.mjs in the root of my project and when running yarn dev it generated that file again and this time it generated the one I was missing in .nuxt/
11 replies
Service worker loaded by PWA causing constant reload
Ok theres a lot there to pick through (lots that I don't necessarily understand), but it appears to now be working.
I think a combination of following this https://stackoverflow.com/questions/76190074/how-to-add-custom-service-worker-to-nuxt-3-with-vite-pwa and removing the importScripts line (possibly it was double loading and causing some sort of conflict.
Thanks so much for helping me work through the problem and I'll pick through the feedback above too
50 replies
Service worker loaded by PWA causing constant reload
mentioned in this which seems appropriate to the packages im using
https://stackoverflow.com/questions/76190074/how-to-add-custom-service-worker-to-nuxt-3-with-vite-pwa
50 replies
Service worker loaded by PWA causing constant reload
Could it be because part of the service worker is doing this? https://web.dev/articles/offline-fallback-page and the other part is managing push notifications
50 replies