Please replace this document with instructions on how to use Your Awesome Library.
ngx-cli-library-seed
provides the following features:
- Angular cli for building and running demo code
- Angular cli for running tests
- Demo app hosted on gh-pages
- Lib code separate from demo code
- Compiled code separate from source code
- Publish to npm or pack into *.tgz for local testing
To create a new component within the library folder, you'll have to specify the path of your library module. The ../lib/awesomelibrary points to ../lib/awesomelibrary.module.ts.
ng generate component header --module ../lib/awesomelibrary
The component will be generated within the app folder, so you'll have to move it manually (or && a copy command).