cogwear-widget v1.1.0
CogwearWidget
This library was generated with Angular CLI version 13.3.0.
Code scaffolding
Run ng generate component component-name --project cogwear-widget to generate a new component. You can also use ng generate directive|pipe|service|class|guard|interface|enum|module --project cogwear-widget.
Note: Don't forget to add
--project cogwear-widgetor else it will be added to the default project in yourangular.jsonfile.
Build
Run ng build cogwear-widget to build the project. The build artifacts will be stored in the dist/ directory.
Publishing
After building your library with ng build cogwear-widget, go to the dist folder cd dist/cogwear-widget and run npm publish.
Use Library in Outside Project
Install the library from npm and add the following to the main module's providers:
CogwearWidgetModule.forRoot({
<all applicable config parameters>
}),Use the lib-cogwear-widget tag to add the module to your html