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 your library;
Place the breadcrumb selector in your component's html where you added your 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