convert react app to pwa in real project || react pwa convert in 2023
Make a React Progressive Web Application (PWA) - Converting Existing React App to PWA
Used to this CLI commend npx create-react-app my-app --template cra-template-pwa
1. You must have HTTPS server
2. Create a Manifest Json file
3. Add the favicon.icon
4. Add the maskable icon in Manifest Json file
5. Service worker
6. Copy the service worker related files as well: service-worker.js and serviceWorkerRegistration.js
7. Register the service worker in your index.js file:
8. serviceWorkerRegistration.register();
Join this channel to get access to perks:
/ @azadmalikrohit
Live url of Weather APP :- https://weather-app-reactjs-delta.ver...
GitHub Surce Code url :- https://github.com/rohitazad/weather-...
Connect via:
Twitter: / rohitazad
Facebook: / rohitazadmalik
Stackoverflow: https://stackoverflow.com/users/13654...
LinkedIn: / rohitazad
Github: https://github.com/rohitazad