README
Component Library for Alert Logic Angular Applications
A ready made suite of Angular UI components for usage powered Alert Logic Angular applications
Built using PrimeNG
How to use this library
in your project install npm install @al/ng-cardstack-components --save
In your modules import in the library
import { NgCardstackModule } from '@al/ng-cardstack-components';
In your component import the components
import { ... } from '@al/ng-cardstack-components';
Code scaffolding
Run ng generate component component-name --project ng-cardstack-components
to generate a new component. You can also use ng generate directive|pipe|service|class|guard|interface|enum|module --project ng-cardstack-components
.
Note: Don't forget to add
--project ng-cardstack-components
or else it will be added to the default project in yourangular.json
file.
Build
Run ng build ng-cardstack-components
to build the project. The build artifacts will be stored in the dist/
directory.
Publishing
After building your library with ng build ng-cardstack-components
, go to the dist folder cd dist/ng-cardstack-components
and run npm publish
.
Running unit tests
Run ng test ng-cardstack-components
to execute the unit tests via Karma.