cnavui v0.0.4
Cnavui
This library was generated with Angular CLI version 11.0.9.
Code scaffolding
Run ng generate component component-name --project cnavui to generate a new component. You can also use ng generate directive|pipe|service|class|guard|interface|enum|module --project cnavui.
Note: Don't forget to add
--project cnavuior else it will be added to the default project in yourangular.jsonfile.Add generated component to lib module exports.
Expose generated component in public api.
Build
Dev
Run ng build cnavui to build the project. The build artifacts will be stored in the dist/ directory.
Prod
Run ng build cnavui --prod to build the project. The build artifacts will be stored in the dist/ directory.
Zip file
Run npm pack under dist/cnavui directory.
Publishing
After building your library with ng build cnavui --prod, go to the dist folder cd dist/cnavui and run npm publish.
Running unit tests
Run ng test cnavui to execute the unit tests via Karma.
Further help
To get more help on the Angular CLI use ng help or go check out the Angular CLI Overview and Command Reference page.
Install zip file
- Go project.
- Run
npm install <path_to_lib>/cnavui-<version>.tgz