Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/isaacplmann/ngx-cli-library-seed
Seed for creating an Angular library that leverages the @angular/cli
https://github.com/isaacplmann/ngx-cli-library-seed
angular angular-cli aot library seed
Last synced: about 2 months ago
JSON representation
Seed for creating an Angular library that leverages the @angular/cli
- Host: GitHub
- URL: https://github.com/isaacplmann/ngx-cli-library-seed
- Owner: isaacplmann
- License: mit
- Created: 2017-03-20T18:29:42.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2018-03-29T14:00:55.000Z (almost 7 years ago)
- Last Synced: 2024-10-11T17:06:43.446Z (4 months ago)
- Topics: angular, angular-cli, aot, library, seed
- Language: TypeScript
- Size: 118 KB
- Stars: 3
- Watchers: 3
- Forks: 1
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Ngx CLI Library Seed
Please replace this document with instructions on how to use Your Awesome Library.
`ngx-cli-library-seed` provides the following features:
1. Angular cli for building and running demo code
2. Angular cli for running tests
3. Demo app hosted on gh-pages
4. Lib code separate from demo code
5. Compiled code separate from source code
6. Publish to npm or pack into *.tgz for local testing## Creating a new component in the library
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).