Progressive Web Apps are emerging trend. Steps of creating PWA given below.
- First, go into src/index.html and to enables the service worker un-comment following script which is commented there already.
- if you're going to create PWA only and not a cordova app comment it out inside index.html
And go inside app.components.ts, and remove the platform and plugin calls.
And also go inside app.module.ts and remove statusbar and splash screen plugins.
- This is the standard web manifest that comes with the app (manifest.json). Let’s go through each option:
- Add the logo for your application in following path
- now its ready to deploy, for deploy run the following command
- Once it is finished you can upload your www directory whichever hosing service.
No comments:
Post a Comment