/subscription-component-schematics

Have you ever realized that you often repeat the same patterns across multiple files? Creating schematics that override well-known Angular schematics, designing them based on project needs will enhance your development and reduce time spent on generating files. This repository contains an example created for the purpose of this article https://indepth.dev/posts/1438/extend-angular-schematics-to-customize-your-development-process

Primary LanguageTypeScript

Subscription Component Schematics

Example schematics created for the purpose of this article https://indepth.dev/posts/1438/extend-angular-schematics-to-customize-your-development-process

Use it in your project:

First things first, you will need to build schematics:

npm install
npm run build

To add the schematics project as dependency for your Angular project run:

npm install --save-dev ../path/to/subscription-component

Then to add it as a default collection, run:

ng add subscription-component-schematics