@masoni/components v0.1.3
Components
This library was generated with Angular CLI version 16.2.0.
Code scaffolding
Run ng generate component component-name --project components to generate a new component. You can also use ng generate directive|pipe|service|class|guard|interface|enum|module --project components.
Note: Don't forget to add
--project componentsor else it will be added to the default project in yourangular.jsonfile.
Install package
After installing npm, you can install @masoni/components with this command:
npm i -S @masoni/componentsUsage
When we're starting to use @masoni/components, we have to install components package and its style through npm.
npm i --save @masoni/components @masoni/css @masoni/iconsOnce you have installed, insert @masoni/css and @masoni/icons in Your Angular App by Updating the angular.json. For more detail, you could check out the usage of @masoni/css and the usage of @masoni/icons
All components will be prefixed with mas-, to see all the available components, check out here for more information.
Build
Run ng build components to build the project. The build artifacts will be stored in the projects/components/dist/ directory.
Publishing
After building your library with ng build components, go to the dist folder cd projects/components and run npm publish.
Running unit tests
Run ng test components 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.