Routing
1. How to add page to verticle sidebar ?
// ----------------------------------------------------
// File: /components/lc/Full/vertical-sidebar/sidebarItem.ts
// ----------------------------------------------------
const sidebarItem: menu[] = [
{ header: 'Personal' },
{
title: 'General',
icon: 'screencast-2-linear',
to: '/dashboards/general'
},
{
title: 'Classic',
icon: 'atom-linear',
to: '/dashboards/classic'
},
{
title: 'Analytical',
icon: 'box-minimalistic-linear',
to: '/dashboards/analytical'
},
]
2. How to add page to horizontal sidebar ?
// ------------------------------------------------------------
// File: /components/lc/Full/horizontal-sidebar/horizontalItems.ts
// ------------------------------------------------------------
const horizontalItems: menu[] = [
{
title: 'Dashboard',
icon: 'layers-line-duotone',
to: '#',
children: [
{
title: 'General',
icon: CircleDotIcon,
to: '/dashboards/general'
},
{
title: 'Classic',
icon: CircleDotIcon,
to: '/dashboards/classic'
},
{
title: 'Analytical',
icon: CircleDotIcon,
to: '/dashboards/analytical'
},
]
},
]