Disclaimer: I am a consultant at Amazon Web Services, and this is my personal blog. The opinions expressed here are solely mine and do not reflect the views of Amazon Web Services (AWS). Any statements made should not be considered official endorsements or statements by AWS.
To install Materialize in your angular app. You just need to follow 2 steps.
Install the materialize-css
node package in your application.
npm install materialize-css --save
This will install Materialize CSS.
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.