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.
Loading...
Related Quiz
- What is the purpose of using AbstractControl in reactive forms?
- Angular Elements encapsulates the complexity of Angular's _____, making it more approachable for different setups.
- For testing dynamic behavior in directives, such as responding to user input or changes in data, you can use _______.
- Which file in an Angular component contains metadata and helps Angular understand how to process a class?
- The Ivy Renderer introduces a new concept called _____ which is designed to be more efficient in updating the DOM.