Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

whyline-toolkit

To run this library follow this steps 1. Make sure your project has this dependencies:

readme

Whyline Toolkit

To run this library follow this steps

  1. Make sure your project has this dependencies:

    "@angular/core": "^7.1.0"

    "@angular/material": "^7.0.2"

  2. Run the following command npm install whyline-toolkit

  3. 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