0.1.5 • Published 7 years ago
ng2-auto-breadcrumb v0.1.5
ng2-auto-breadcrumb
This is a Angular JS 2/4 module that can be included in projects to automatically display breadcrumb for that page.
Installation
To install this library, run:
$ npm install ng2-auto-breadcrumb --save
Consuming your library
Once you have published your library to npm, you can import your library in any Angular application by running:
$ npm install ng2-auto-breadcrumb
and then from your Angular AppModule
:
import { BrowserModule } from '@angular/platform-browser';
import { NgModule } from '@angular/core';
import { AppComponent } from './app.component';
// Import your library
import { Ng2AutoBreadCrump } from 'ng2-auto-breadcrumb';
@NgModule({
declarations: [
AppComponent
],
imports: [
BrowserModule,
// Specify your library as an import
Ng2AutoBreadCrump
],
providers: [],
bootstrap: [AppComponent]
})
export class AppModule { }
Place the breadcrumb selector in your component's html where you added your router-outlet:
<ng2-auto-breadcrumb></ng2-auto-breadcrumb>
<router-outlet></router-outlet>
Development
To generate all *.js
, *.d.ts
and *.metadata.json
files:
$ npm run build
To lint all *.ts
files:
$ npm run lint
License
MIT © Mohammed Rashid
0.1.5
7 years ago
0.1.4
7 years ago
0.1.3
7 years ago
0.1.2
7 years ago
0.1.1
7 years ago
0.1.0
7 years ago
1.0.12
7 years ago
1.0.11
7 years ago
1.0.10
7 years ago
1.0.9
7 years ago
1.0.8
7 years ago
1.0.7
7 years ago
1.0.6
7 years ago
1.0.5
7 years ago
1.0.4
7 years ago
1.0.3
7 years ago
1.0.2
7 years ago
1.0.1
7 years ago
1.0.0
7 years ago