angular-example-app
angular-example-app copied to clipboard
Angular Material
Hi I am Beniamino Ferrari,
How can I use angular material components with standalone components in this template?
Best regards
Beniamino Ferrari
There are some step to use the Angular Material into the Standalone Application :
-
Make sure You have Angular17
-
run this comman > ng add @angular/material
-
Open the Angular.json file and check angular material style is encluded or not
-
go to @node_module>@angular>prebuild_themes>right click theme you want and (copy Relative path> now open the angular.json go to last style array .. it will be near 99-100 line> and paste the copy path
-
You are done.... whatever material you want to use just import it into your component
@sunch1ld