Automating boring Tasks with the Angular CLI and Schematics

Frontend Love
by Manfred Steyer, GDE

For scaffolding files, the Angular CLI leverages the code generator Schematics. To customize its behavior, everyone can tweak the used templates and even create new ones. This session shows how to leverage this less known technology dozing under the CLI’s covers. For this, you will learn how Schematics work and how we can write npm packages that provide additional code generators. You will also see how to modify existing source files, e. g. in order to register a generated component with an existing module. For this, we will use the TypeScript’s compilers services which allow to directly manipulate the application’s abstract syntax tree. After this session you know the build-in options for automating repetitive and boring programming tasks.

Gratis Angular eBooks

Angular-Schulungen

Egal, ob Sie Angular von Grund auf lernen möchten, mehr über spezielle Tools und Konzepte in Angular erfahren möchten oder das Framework bereits in komplexen Anwendungen einsetzen, unsere Angular-Schulungen bringen die Teilnehmenden auf ein neues Level.

Angular-Schulung finden

Nichts mehr verpassen!

Nie mehr etwas verpassen - abonnieren Sie jetzt unseren Newsletter!
Bitte aktiviere JavaScript in deinem Browser, um dieses Formular fertigzustellen.