title: Add Angular Material to Nx Workspace
body: <p>I'm wanting to add angular-material to my nx-workspace.</p>
  <p>The angular material docs (<a href="https://material.angular.io/guide/getting-started" rel="noreferrer">https://material.angular.io/guide/getting-started</a>) say I should run <code>ng add @angular/material</code>.</p>
  <p>I've tried that in the root of my nx workspace, as well as in an application folder I want to add it to, as well as in a lib project folder I want to add it to. In all cases I get the message
  <code>The add command requires to be run in an Angular project, but a project definition could not be found.</code></p>
  <p>The Angular Material docs used to include instructions on how to add dependencies manually, but I can't find that anymore. Does anyone know how to add it to projects in an Nx workspace these days?</p>