0.0.9 • Published 5 years ago
whyline-toolkit v0.0.9
Whyline Toolkit
To run this library follow this steps
Make sure your project has this dependencies:
"@angular/core": "^7.1.0"
"@angular/material": "^7.0.2"
Run the following command
npm install whyline-toolkit
Import the services/components you want to use in
app.module.ts
file:import { NotificationService } from 'whyline-toolkit';; . . . @NgModule({ . . . providers: [ NotificationService ], })
4. Import styles in your styles.less file:
`@import './node_modules/whyline-toolkit/lib/styles/styles.less';`
## To update this library follow this steps
1. Make your changes and run `npm run packagr` inside the toolkit folder.
This will generate a `dist/whyline-toolkit` folder with your new changes.
2. Log in in npm `npm login`
3. Run `npm publish dist/whyline-toolkit`