A very simple Angular workspace with a library containing schematics. Detailed process in this article : Add schematics to Angular library
Just create a new Angular project and run the ng add command.
- ng new myApp
- cd myApp
- ng add @aboudard/ng-lib
In the newly created application, if you want to use the exposed assets, modify the angular.json file, and add an assets entry :
{
"glob": "**/*",
"input": "node_modules/@aboudard/ng-lib/assets",
"output": "assets"
}