You've been given a task to add PWA (Progressive Web App) capabilities to your existing Angular application. Which Angular CLI command would you use to achieve this?

  • ng add @angular/pwa
  • ng pwa --enable
  • ng create pwa
  • ng generate service-worker
To add PWA capabilities to an existing Angular application, you would use the "ng add @angular/pwa" command (option a). This command sets up the necessary service workers and configuration for a Progressive Web App.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *