sdp-uki
v2.0.18
Published
This library was generated with [Angular CLI](https://github.com/angular/angular-cli) version 8.2.14.
Downloads
50
Keywords
Readme
SdpUki
This library was generated with Angular CLI version 8.2.14.
Installation
Install Dependencies
$ npm install [email protected] --save
$ npm install google-libphonenumber --save
$ npm install [email protected] --save
To install bootstrap we recommend to simply add this to your local package.json:
"bootstrap": "4.3.1",
"ngx-bootstrap": "^5.1.0",
And do $ npm install
Or you can follow this links for official install
https://ng-bootstrap.github.io/#/home
https://getbootstrap.com/docs/3.4/getting-started/
Add Dependency Style
Add 'intl-tel-input' and 'bootstrap' style file:
./node_modules/intl-tel-input/build/css/intlTelInput.css
./node_modules/bootstrap/dist/css/bootstrap.min.css
to angular.json styles array:
"styles": [
"./node_modules/bootstrap/dist/css/bootstrap.min.css",
"./node_modules/intl-tel-input/build/css/intlTelInput.css",
"src/styles.css"
],
Install This Library
$ npm install sdp-uki@<version>
Code scaffolding
Run ng generate component component-name --project sdp-uki
to generate a new component. You can also use ng generate directive|pipe|service|class|guard|interface|enum|module --project sdp-uki
.
Note: Don't forget to add
--project sdp-uki
or else it will be added to the default project in yourangular.json
file.
Build
Run ng build sdp-uki
to build the project. The build artifacts will be stored in the dist/
directory.
Publishing
After building your library with ng build sdp-uki
, go to the dist folder cd dist/sdp-uki
and run npm publish
.
Running unit tests
Run ng test sdp-uki
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 README.