I am just picking up Angular 6 and CLI and have created a project as below
ng new my-demo
cd my-demo
ng g library foo --prefix=my
No in my library I want to add ngx-bootstrap
as the component will need the DropdownButtonModule
so my question is how do I go about installing the npm package for the library?
I would previously have just run npm install ngx-bootstrap
but this will now install the package for the application, however, I need this installed for the library. Should I be cd'ing to the library folder and running npm install or is there an alternate way this is n ow done using the CLI?