Package Exports
- ng8-breadcrumb
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (ng8-breadcrumb) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
ng8-breadcrumb
Installation
ng8-breadcrumb is available on NPM
$ npm install ng8-breadcrumb --saveSetup & Usage
Once the module has been installed, you need to include Ng8BreadcrumbModule into your root module:
import {NgxBreadcrumbModule} from 'ng8-breadcrumb';
...
@NgModule({
imports: [
...
NgxBreadcrumbModule.forRoot({
prefix: 'Home' // default 'false'
}),
...
],
...
})
export class AppModule {}& Anywhere template component :
<ng8-breadcrumb></ng8-breadcrumb>And finally use the service :
constructor(private _breadcrumb: BreadcrumbService) {
_breadcrumb.store('id', 'iPhone x');
}License
ng8-breadcrumb is released under MIT license.
