CoderJony

How to use Materialize CSS in Angular application

To install Materialize in your angular app. You just need to follow 2 steps.

Materialize CSS in Angular

  1. Install the materialize-css node package in your application.

    npm install materialize-css --save
    

    This will install Materialize CSS.

  2. 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"
            ]
    
  3. You are done. Now re-run your application.

Buy Me A Coffee