Reputation: 2085
I have an Angular project with a library along with it. How do I create a component inside that library project?
Upvotes: 4
Views: 1838
Reputation: 2085
By using --project flag. For a reference
Example
ng g c component-name --project=project-name
Upvotes: 9