Created
June 21, 2019 20:40
-
-
Save wharley/0a8bd52148cd7e032475881158e86540 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
mapRoutes = [ | |
{ | |
link: 'customer', | |
name: 'Customer', | |
routes: [ | |
{ | |
link: 'customer', | |
name: 'Customer', | |
routes: [ | |
{ | |
link: 'customer', | |
name: 'Customer' | |
}, | |
{ | |
link: "customer-list", | |
name: "Customer List" | |
}, | |
{ | |
link: "customer-perfomance", | |
name: "Customer Perfomance" | |
} | |
] | |
}, | |
{ | |
link: "contact-person", | |
name: "Contact Person", | |
routes: [ | |
{ | |
component: "CustomerContact", | |
link: "contact-person", | |
name: "Contact" | |
}, | |
{ | |
component: "CustomerContactList", | |
link: "contact-list", | |
name: "Contact List" | |
} | |
] | |
} | |
] | |
}, | |
{ | |
link: "supplier", | |
name: "Supplier", | |
routes: [ | |
{ | |
link: 'supplier', | |
name: 'Supplier', | |
routes: [ | |
{ | |
link: "supplier", | |
name: "Supplier" | |
}, | |
{ | |
link: "supplier-list", | |
name: "Supplier List" | |
} | |
] | |
}, | |
{ | |
link: "contact-person", | |
name: "Contact Person", | |
routes: [ | |
{ | |
component: "SupplierContact", | |
link: "contact-person", | |
name: "Contact" | |
}, | |
{ | |
component: "SupplierContactList", | |
link: "contact-list", | |
name: "Contact List" | |
} | |
] | |
} | |
] | |
} | |
] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment