equipment-details v0.0.7
HOW TO USE
in your repo folder, run
npm i equipment-details@latest
Add
import { EquipmentDetailsComponent} from 'equipment-details'
to your app.module.ts file.
Add 'EquipmentDetailsComponent' in the declarations array of your app.module.ts file.
Add
import { EquipmentDetailsComponent} from 'equipment-details'
to the .ts file associated with the component you want to insert the library component in.
Finally, add
<app-equipment-details></app-equipment-details>
where you would like to insert in your html code.
EquipmentDetails
This library was generated with Angular CLI version 8.0.0.
Code scaffolding
Run ng generate component component-name --project equipment-details
to generate a new component. You can also use ng generate directive|pipe|service|class|guard|interface|enum|module --project equipment-details
.
Note: Don't forget to add
--project equipment-details
or else it will be added to the default project in yourangular.json
file.
Build
Run ng build equipment-details
to build the project. The build artifacts will be stored in the dist/
directory.
Publishing
After building your library with ng build equipment-details
, go to the dist folder cd dist/equipment-details
and run npm publish
.
Running unit tests
Run ng test equipment-details
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.