0.0.2 • Published 5 years ago

@morenar/ngx-custom-button v0.0.2

Weekly downloads
-
License
-
Repository
-
Last release
5 years ago

ButtonLib

Testing ViewEncapsulation and Libary Mechanism with the new angular 11.

npx @angular/cli new lib-workspace --create-application=false npx ng generate library button-lib ng build button-lib --prod npm publish --access=public

This library was generated with Angular CLI version 11.0.0.

Code scaffolding

Run ng generate component component-name --project button-lib to generate a new component. You can also use ng generate directive|pipe|service|class|guard|interface|enum|module --project button-lib.

Note: Don't forget to add --project button-lib or else it will be added to the default project in your angular.json file.

Build

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

Publishing

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

Running unit tests

Run ng test button-lib 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 Overview and Command Reference page.

0.0.2

5 years ago

0.0.1

5 years ago

1.0.1

5 years ago