From the course: Creating Angular Libraries
Unlock this course with a free trial
Join today to access over 25,500 courses taught by industry experts.
Angular schematics configuration - Angular Tutorial
From the course: Creating Angular Libraries
Angular schematics configuration
- [Instructor] Earlier in this course, we talked about what schematics do and why you might want to use them. In this video, we'll look at the essential configuration you need to add schematics to your custom library. I opened our project here in a GitHub code space. I talk about why we use code spaces earlier in this course, so for now, just think of them as an easy way to share and write code without installing anything on your local machine. From the root of the workspace, I'll go to projects NGX gem finder and click on schematics to open the folder. As of Angular version 19.2, there's no automated way to quickly add schematics inside a custom library. You'll need to add the files and folders yourself. Schematics live in their own folder at the root of your project. This folder is usually called schematics. That's what I did here. Each schematic gets its own sub folder and everything is configured using this collection dot JSON file. The schematics property is where you'll spend…