Navigation
In this page, you will find how to add/update navigation menu items.
In this page, you will find how to add/update navigation menu items.
you can easily update/add navigation menu items in
Vertical Layout navigated in
src/Layout/VerticalLayout/SidebarData.js
.
Add Menu label and ismainMenu property pass in the JSON object.
{ label: "Menu", ismainMenu: true, },
Add label, icon , url and arrow pass in the JSON object.
{ label: "Calendar", icon: "mdi mdi-calendar-outline", isHasArrow: true, url: "/calendar", },
Add following code in <ul>
tag.
{ label: "Email", icon: "mdi mdi-email-outline", subItem: [ { sublabel: "Inbox", link: "/inbox" }, { sublabel: "Read Email", link: "/read-email" }, { sublabel: "Email Compose", link: "/compose-email" }, ], },
you can easily update/add navigation menu items in
Vertical Layout navigated in
src/Layout/HorizontalLayout/Navdata.js
.
Add following code in <ul>
tag.
{ label: "Calendar", url: "/calendar", },
Add following code in <ul>
tag.
{ label: "Email", staclick: function () { setemail(!email); setui(false); setcomponent(false); setpages(false); }, subState: email, subItem: [ { link: "/inbox", title: "Inbox" }, { link: "/read-email", title: "Read Email" }, { link: "/compose-email", title: "Compose Email" }, ], },