Using the Angular Workspace or the Nrwl/Nx Workspace, you can create multiple library projects in your workspace. We know that the applications can share the libraries. But we can also share libraries with other libraries.

You can also reference and use a library from another library. Library references will need to use scope naming styles (i.e., @angular/core). You can update the paths in the workspace tsconfig to map to the correct libraries. Please note, that the default behavior of the workspace is to reference the libraries (using a file path) and combining the output for the build of the application. To use the libraries from other libraries, the environment has to emulate a published package.

Please note that you will have to pay attention as to not create a circular dependencies in your library-to-library usage.



I love tacos, code, jazz, my husky and maybe 3 people in this world...and of course: Angular. Angularlicious podcast — more info at

Love podcasts or audiobooks? Learn on the go with our new app.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store