Routing
1. How to add page to verticle sidebar ?
// ----------------------------------------------------
// File: /components/lc/Full/vertical-sidebar/sidebarItem.ts
// ----------------------------------------------------
const sidebarItem: menu[] = [
{
header: 'Dashboards',
id: 1,
children: [
{
title: 'eCommerce',
icon: 'widget-add-line-duotone',
to: '/dashboards/ecommerce'
},
{
title: 'Analytics',
icon: 'chart-line-duotone',
to: '/dashboards/analytics'
},
{
title: 'CRM',
icon: 'layers-line-duotone',
to: '/dashboards/crm'
},
]
}
]
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: 'Dashboard 1',
icon: CircleIcon,
to: '/dashboards/dashboard1'
},
{
title: 'Dashboard 2',
icon: CircleIcon,
to: '/dashboards/dashboard2'
},
{
title: 'Dashboard 3',
icon: CircleIcon,
to: '/dashboards/dashboard3'
}
]
},
]