尝试在角度 6 中运行命令时引发以下错误ng generate @angular/material-nav --name=main-nav
。谁能帮我解决这个问题>
错误:在集合“@schematics/angular”中找不到示意图“@angular/material-nav”。
Dependencies:
"dependencies": {
"@angular/animations": "^6.0.6",
"@angular/cdk": "^6.3.0",
"@angular/common": "^6.0.3",
"@angular/compiler": "^6.0.3",
"@angular/core": "^6.0.3",
"@angular/forms": "^6.0.3",
"@angular/http": "^6.0.3",
"@angular/material": "^6.3.0",
"@angular/platform-browser": "^6.0.3",
"@angular/platform-browser-dynamic": "^6.0.3",
"@angular/router": "^6.0.3",
"core-js": "^2.5.4",
"rxjs": "^6.0.0",
"zone.js": "^0.8.26"
},