Learning the Angular CLI
1hIntermediate2021-01-08
Authors

Victor Mejia
Senior UI Engineer and Instructor
Course details
The Angular command-line interface (CLI) is the recommended utility for building and maintaining Angular applications. Understanding what it provides—and how to make the most of its features—can set you up for maximum development productivity with Angular. In this course, learn how the Angular CLI is designed to not only help with creating new Angular projects, but also how it takes care of the application-build workflow and testing. Instructor Victor Mejia covers creating new projects, customizing the development server, generating Angular application code, running tests, and more. Plus, he shares real-world scenarios that can help you develop a more practical understanding of how to use the CLI. By the end of this course, you'll have the knowledge you need to use the Angular CLI as a core tool in your Angular application development workflow.
Skills covered
AngularWeb Development ToolsLearningWeb DevelopmentOpen Source
Concepts
0. Introduction
- 01 - Maximize productivity with Angular CLI
- 02 - What you should know
- 03 - Using the exercise files
1. Exploring the Angular CLI
- 04 - What is the Angular CLI
- 05 - Installing the CLI
- 06 - Using the CLI
2. Updating Angular Versions
- 07 - Using the Angular Update Guide
- 08 - Using ng update - Part 1
- 09 - Using ng update - Part 2
3. Creating New Angular Projects
- 10 - The ng new command
- 11 - Understanding the config files
- 12 - Adding application assets
- 13 - Adding a CSS framework
- 14 - Challenge - Adding JavaScript libraries
- 15 - Solution - Adding JavaScript libraries
4. Serving Angular Applications for Development
- 16 - The ng serve command
- 17 - Customizing the development server
5. Generating Angular Application Code
- 18 - Creating new code with schematics
- 19 - Generating components and modules
- 20 - Generating directives
- 21 - Generating pipes
- 22 - Generating route guards
- 23 - Adding libraries using schematics
- 24 - Generating custom library
- 25 - Challenge - Generating services
- 26 - Solution - Generating services
6. Building Angular Applications
- 27 - A build pipeline for an Angular app
- 28 - The ng build command
- 29 - Configuring different build options
- 30 - Setting up build scripts
- 31 - Deploying with the Angular CLI
7. Running Tests
- 32 - Built-in test runner
- 33 - The ng test command
- 34 - Test run options
- 35 - Testing workflow
Conclusion
- 36 - Next steps