To install Materialize in your angular app. You just need to follow 2 steps.
-
Install the
materialize-css
node package in your application.
This will install Materialize CSS.npm install materialize-css --save
-
Open
angular.json
file & add below styles & scripts."styles": [ "./node_modules/materialize-css/dist/css/materialize.css", ], "scripts": [ "./node_modules/materialize-css/dist/js/materialize.js" ]
- You are done. Now re-run your application.