I'm getting started with Nx and I'm following the tutorial available on their website https://nx.dev/angular
Now I'm trying to add angular material to my project. A simple ng add @angular/material would do the trick, but only for the root app. What I'm trying to achieve is having all of my apps and libraries to use the same Material Theme. So I want my root app to use it as well as my other components under libs, e.g. HeaderComponent. I couldn't find any tutoriol to clarify that till now.