This library requires the following 3rd party libraries be install on the consuming application 1. npm i ngx-toastr 2. npm i file-saver 3. npm i json2csv
npm install @clbtid/common-uiThis library requires the following 3rd party libraries be install on the consuming application
1. npm i ngx-toastr
2. npm i file-saver
3. npm i json2csv
ng generate component component-name --project common-ui to generate a new component. You can also use ng generate directive|pipe|service|class|guard|interface|enum|module --project common-ui.
--project common-ui or else it will be added to the default project in your angular.json file.
npm run commonbuild or ng build common-ui -c production to build the project.
dist/ directory.
cd dist/common-ui and run npm publish --access=public.
npm publish, you will be prompted to authenticate with npm. It will ask to open https://www.npmjs.com/auth/cli/ in your browser. Follow the instructions to authenticate.
ng test common-ui to execute the unit tests via Karma.
ng help or go check out the Angular CLI README.