Routing
How to add page to sidebar ?
Add same path as same as you put the page into pages folder.
// ------------------------------------------------------------------------
// File: /src/app/(DashboardLayout)/layout/vertical/sidebar/Sidebaritems.ts
// ------------------------------------------------------------------------
{
id: 1,
name: "Dashboard",
items: [
{
heading: "Dashboards",
children: [
{
name: "eCommerce",
icon: "solar:widget-add-line-duotone",
id: uniqueId(),
url: "/",
},
{
name: "Analytics",
icon: "solar:chart-line-duotone",
id: uniqueId(),
url: "/dashboards/analytics",
},
}
}