Estoy intentando usar angular-material
<mat-menu #menu="matMenu">
<button mat-menu-item>
<mat-icon>dialpad</mat-icon>
<span>Redial</span>
</button>
<button mat-menu-item disabled>
<mat-icon>voicemail</mat-icon>
<span>Check voicemail</span>
</button>
<button mat-menu-item>
<mat-icon>notifications_off</mat-icon>
<span>Disable alerts</span>
</button>
</mat-menu>
Pero me sale error:
There is no directive with "exportAs" set to "matMenu"
Las versiones de mi proyecto:
__ _ _ __ __ _ _ _ | | __ _ _ __ ___ | |(_)
/ _` || '_ \ / _` || | | || | / _` || '__|_____ / __|| || |
| (_| || | | || (_| || |_| || || (_| || | |_____|| (__ | || |
\__,_||_| |_| \__, | \__,_||_| \__,_||_| \___||_||_|
|___/
angular-cli: 1.0.0-beta.28.3
node: 6.11.4
os: win32 x64
@angular/animations: 5.2.3
@angular/cdk: 5.1.1
@angular/common: 5.2.3
@angular/compiler: 5.2.3
@angular/core: 5.2.3
@angular/forms: 5.2.3
@angular/http: 5.2.3
@angular/material: 5.1.1
@angular/platform-browser: 5.2.3
@angular/platform-browser-dynamic: 5.2.3
@angular/router: 5.2.3
@angular/cli: 1.6.7
@angular/compiler-cli: 5.2.3
@angular/language-service: 5.2.3