Someone tried to add PWA to their react app? #10512
Replies: 3 comments 1 reply
-
https://github.com/puku0x/nx-react-pwa-sample using this I was able to get my react app to behave like PWA. |
Beta Was this translation helpful? Give feedback.
-
Hello @ImaginaSergio I’ve made an nx plugin that adds offline PWA capabilities to nx react app, maybe it will help you: https://github.com/badgers-ua/nx-react-pwa Have a good one :) |
Beta Was this translation helpful? Give feedback.
-
Hello, @badger-lviv-ua and @thegoodbit thanks for links. Do you plan to update the code to make it compatible with nx version 16 and above ? Did anyone experience the solution gave by @thegoodbit ? Thanks. |
Beta Was this translation helpful? Give feedback.
-
Hello everyone!
A few months ago I started using monorepos and, specifically NX, in my work. What happens is that I need to start using service workers to add several things in my application (PWA, pusher, etc...) and no matter how hard I look, I can't find any post, tutorial or video where they explain how to add a service worker in React with NX.
I have tried to start from a CRA template with sw and copy the code into my project, but there is something I'm missing because the browser never ends up registering the sw correctly.
Is there anyone who has already had this problem or knows of any online post that I can consult? Anything is welcome,
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions