emarket-router
TypeScript icon, indicating that this package has built-in type declarations

0.0.1 • Public • Published

emarket router child && side nav custom matarial component

install

  • npm i emarket-router

// import module import { RouteLinkModule } from 'emarket-router'; import { EmarketSidenavContainerModule } from 'emarket-router';

@NgModule({ imports: [ RouteLinkModule, // link child component EmarketSidenavContainerModule // side nav component ] })

  • using
  • emarket side nav custom matarial
// user code views
  • emarket router child <app-route-link [links]="listRoute">

example:

listRoute = [ { "href":"/users/merchant/my-account/my-profile", "name":"My Profile" } ,{ "href":"/users/merchant/my-account/merchant-detail", "name":"Merchant detail" } ,{ "href":"/users/merchant/my-account/stores", "name":"Stores" } ]

Readme

Keywords

none

Package Sidebar

Install

npm i emarket-router

Weekly Downloads

0

Version

0.0.1

License

MIT

Unpacked Size

53 kB

Total Files

20

Last publish

Collaborators

  • fireflysmile