@al/ng-cardstack-components

Alert Logic Component Library for Angular projects

Usage no npm install needed!

<script type="module">
  import alNgCardstackComponents from 'https://cdn.skypack.dev/@al/ng-cardstack-components';
</script>

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 your angular.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.