This is a Hard Core code for understanding the PWA(Progressive Web Apps) . All you need to just add the Google Extension of service worker named as "Web Server for Chrome". After that follow the steps:
-
Open the extrension where you find option to "Choose Folder" selects the main folder where all your files are present.
-
To run that now you have two option :
- You find a https address in the extenstion of 'web server', you can view your app by that address .
- This part is optional , You can also upload it on firebase by hosting the site and make the link of your PWA
Example Link of PWA deployed on Firebase : https://pwa-introductory-session.firebaseapp.com/