Now using Angular 17.
If you are using an older version, please see compatibility matrix below. Note: This package's major versions are now going to align with Angular major versions.
Angular Version | Slider Package Version |
---|---|
10 - 12 | 0.0.4 |
13 - 17 | 17.0.2 |
Run ng generate component component-name --project slider
to generate a new component. You can also use ng generate directive|pipe|service|class|guard|interface|enum|module --project slider
.
Note: Don't forget to add
--project slider
or else it will be added to the default project in yourangular.json
file.
Run ng build slider
to build the project. The build artifacts will be stored in the dist/
directory.
After building your library with ng build slider
, go to the dist folder cd dist/slider
and run npm publish
.
Run ng test slider
to execute the unit tests via Karma.
To get more help on the Angular CLI use ng help
or go check out the Angular CLI README.