feat(sidebar): custom links and 3rd level

This commit is contained in:
nixa 2016-07-11 12:23:07 +03:00
parent a74c056065
commit ded87ce527
5 changed files with 64 additions and 182 deletions

View file

@ -247,6 +247,61 @@ export const PagesRoutes:RouterConfig = [
}
]
},
{
path: '',
data: {
menu: {
title: 'Menu Level 1',
icon: 'ion-ios-more',
selected: false,
expanded: false,
order: 700,
}
},
children: [
{
path: '',
data: {
menu: {
title: 'Menu Level 1.1',
url: '#'
}
}
},
{
path: '',
data: {
menu: {
title: 'Menu Level 1.2',
url: '#'
}
},
children: [
{
path: '',
data: {
menu: {
title: 'Menu Level 1.2.1',
url: '#'
}
}
}
]
}
]
},
{
path: '',
data: {
menu: {
title: 'External Link',
url: 'http://akveo.com',
icon: 'ion-android-exit',
order: 800,
target: '_blank'
}
}
}
]
}
];