prabhatojha
prabhatojha

Reputation: 2085

Angular-CLI create component in project library

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

Answers (1)

prabhatojha
prabhatojha

Reputation: 2085

By using --project flag. For a reference

Example

ng g c component-name --project=project-name

Upvotes: 9

Related Questions