# CardinalNgComponents

This library was generated with [Angular CLI](https://github.com/angular/angular-cli) version 8.1.1.

## Code scaffolding

Run `ng generate component component-name --project cardinal-ng` to generate a new component. You can also use `ng generate directive|pipe|service|class|guard|interface|enum|module --project cardinal-ng`.
> Note: Don't forget to add `--project cardinal-ng` or else it will be added to the default project in your `angular.json` file.

## Build

Run `ng build cardinal-ng` to build the project. The build artifacts will be stored in the `dist/` directory.

Build new version of library and watch for changes with `npm run develop-cardinal-ng`

## Publishing

After building your library with `ng build cardinal-ng`, go to the dist folder `cd dist/cardinal-ng` and run `npm publish`.

## Running unit tests

Run `ng test cardinal-ng` to execute the unit tests via [Karma](https://karma-runner.github.io).

## Further help

To get more help on the Angular CLI use `ng help` or go check out the [Angular CLI README](https://github.com/angular/angular-cli/blob/master/README.md).

## Creating and building a new component

### Generate the component

`ng g c <component name> --project=cardinal-ng`

### Import component via npm locally (Only not already in root package.json)

`npm install dist/cardinal-ng --save-optional`
