material-dashboard-angular2 icon indicating copy to clipboard operation
material-dashboard-angular2 copied to clipboard

How to integrate the sidebar menu

Open MeriemBo opened this issue 6 years ago • 3 comments

Hello , I'm trying to integrate the package in my code. How can I add just the sidebar menu please ? I added everything as in your code , but the styles aren't working out and I get a plain sidebar menu as the output. thank you

MeriemBo avatar Jun 07 '19 13:06 MeriemBo

@MeriemBo Thank you for using our product. Have you imported our styles?

chelaruc avatar Jun 11 '19 05:06 chelaruc

I too am trying add a link in the side bar to a new component (customer) I have created. I have placed the routing link for this new one along with the other as shown below. But unlike the other existing Routes, am not able to click this new link customer. Please let me know what I am missing here.

export const ROUTES: RouteInfo[] = [
    { path: '/dashboard', title: 'Dashboard',  icon: 'dashboard', class: '' },
    { path: '/user-profile', title: 'User Profile',  icon:'person', class: '' },
.
.
.

{ path: '/customerApp/customer', title: 'Customer',  icon:'person', class: '' },
 { path: '/upgrade', title: 'Upgrade to PRO',  icon:'unarchive', class: 'active-pro' },  
];

jeywinlizy avatar Aug 26 '19 12:08 jeywinlizy

@jeywinlizy you need to create the route in src/app/layouts/admin-layout/admin-layout.routing.ts.

chelaruc avatar Aug 29 '19 05:08 chelaruc