node package manager
Don’t reinvent the wheel. Reuse code within your team. Create a free org »



This project was generated with generator-angular2-library version 11.2.0 and ionic-cli version 3.7.0

Pre-Install Commands

npm install -g yo
npm install -g generator-angular2-library 

## Installation of Library
- Download The ruf-ionic-login -
- Run npm i

## Development
To generate all `*.js`, `*.d.ts` and `*.metadata.json` files:

$ npm run build

To lint all *.ts files:

- Go to project dist directory 
$ npm run lint


  • Libraby project Build steps

  • Run npm run build to build the project.

  • The build artifacts will be stored in the dist/ directory.

## <a name="get-started"></a>Getting Started
### Development server

  - In target enter npm link <package name>
import { BrowserModule } from '@angular/platform-browser';
import { NgModule } from '@angular/core';

import { AppComponent } from './app.component';

// Import your library
import { SampleModule } from 'testlogin';

  declarations: [
  imports: [

    // Specify your library as an import
  providers: [],
  bootstrap: [AppComponent]
export class AppModule { }

Once your library is imported, you can use its components, directives and pipes in your Angular application:

<!-- You can now use your library component in app.component.html -->
  • Run ionic serve for a dev server.
  • Navigate to http://localhost:8100/.
  • The app will automatically reload if you change any of the source files.

Consuming your library

Once you have published your library to npm, you can import your library in any Angular application by running:

$ npm install testlogin


MIT © Sunitha, Vobireddy