How to create a component library in Angular

Viewed 33

New Angular user alert.

I'm trying to create a component library that contains multiple components that an external application can import and use. I'm using the Angular CLI Library tool to generate "libraries" which are individual components. I can export each individual component, but I want to have one "library" that exports all the components so a consumer only needs to import that single file rather than the X amount of components.

How do I create a component library containing multiple components using Angular in such a way that can be published and consumed by another application? Everything I've seen regarding component libraries thus far all make use of "library" projects existing in the same application, which isn't this case.

0 Answers
Related