Top "Angular-library" questions

Angular library is a means for building general solutions that can be adapted for re-use in different apps.

'rootDir' is expected to contain all source files

I have an Angular CLI workspace containing two library projects, foo and bar. When I build the second of the …

angular typescript angular-cli ng-packagr angular-library
How to add global style to angular 6/7 library

I was trying to add global styles in the same way like in angular app, but it totally does not …

css angular styles angular-library
Configuration 'production' could not be found in project 'my-lib'

I am building a library with Angular 6.1.0 ng new lib-demo ng generate library my-lib All the articles advise running the …

angular ng-packagr angular-library
Include assets when building angular library

I am building a library which contains a custom icon font. However, when I build my library using ng build &…

angular angular-cli assets angular-library ng-packagr
angular 9 library publish error "Trying to publish a package that has been compiled by Ivy"

I migrated my angular 8.x.x project to angular 9.x.x and when I try to publish my library, it …

angular angular-cli angular-library angular-cli-v9
Using React Component in Angular 2

I have a set of react components and i am trying to use them in an Angular 2 app. Here is …

angular reactjs angular-library
Add Angular Material to a custom library

I want to write my own library and reuse it in other projects, so I created a new app and …

angular angular-material angular-library
How to have absolute import paths in a library project?

I have a library with a workspace containing two projects, one for the library itself and one for a test …

angular typescript tsconfig angular-library tsconfig-paths
Error encountered in metadata generated for exported symbol when constructing an angular 6 library

I'm getting the following error while performing 'ng build' from my library. I'm using Angular 6 at the moment, but I …

angular angular-cli angular-library angular-cli-v6