I've been using angular2 rc 5 with ngModule
So right now I wanna use angular material. For example I wanna use angular2 material sidenav. I've been install it using npm
npm i @angular2-material/sidenav
then I put that angular 2 material on my systemjs-config.js
const map: any = {
'@angular2-material': 'vendor/@angular2-material'
};
after that I imported the angular material in my ngModule
@NgModule({
imports: [MdButtonModule, MdCardModule],
...
})
but I got an error
http://localhost:3000/node_modules/@angular2-material/button/ 404 (Not Found)
is there some thing wrong with my code?
packagesconfiguration in thesystemjs-config.jsRefer to this and this links for more details. - Kunal Sharma