Search⌘ K
AI Features

Schematics and CLI Builders

Explore how Angular Schematics automate project modifications and how CLI Builders extend the Angular CLI build system. Understand using these tools to customize workflows, create new components or libraries, and optimize app builds.

Schematics

As we know, Angular provides a framework for developing web applications. But there is more to Angular than just the building blocks of a web application (components, services, directives, and so on). Angular has many features we can use as developers to create fast, powerful applications.

Schematics is a tool we can add to our workflow as Angular developers, similar to how we use the Angular CLI.


Schematics allow us to apply transforms to our projects; we see an example of this when we ask the Angular CLI to create Components or Services for our application.


CLI vs. schematics

When we call the CLI to create a Component file, it updates the filesystem where our project is kept. So, the CLI is writing to the filesystem.

While the CLI is a wonderful workflow tool, the role of schematics is to build upon this scaffolding feature that the CLI supports. So, schematics allow us to add to ...