79434611

Date: 2025-02-12 22:24:26
Score: 1
Natty:
Report link

This error means your template can't find the MatMenuTrigger directive. If you're using Angular's new standalone components, you can import it on its own.

component.ts

import { MatMenuTrigger } from '@angular/material/menu`;

...

@Component({
    imports: [
        MatMenuTrigger
    ]
})
...
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Joe