-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Doesn't register Service Worker #6
Comments
Not sure what you mean by registering in ssr mode. ServiceWorkers won't run in a server as they're only meant for browsers. |
When you run server side rendering and visit lets say '/', server sends prerendered html and css, client gets the page and bootstraps bundle.js but doesn't register service worker. If it's unclear please run your seed and run lighthouse audit on chrome dev tools, it only scores 64. |
Ah, you must be on localhost. The current Other option is to use |
@milostomsik1 Did you figure it out? |
I haven't tried yet, I'll try when I get the time. I haven't been on pc during the weekend. I'll let you know. Thank you. |
No worries, just checking in~ |
I have tried the starter, but couldn't manage to get the app to register SW in ssr mode. It registers SW in client only mode as expected.
The text was updated successfully, but these errors were encountered: