creativetimofficial / argon-dashboard

Argon - Dashboard for Bootstrap 5 by Creative Tim
https://www.creative-tim.com/product/argon-dashboard
MIT License
674 stars 1.26k forks source link

Angular material component are not working even after installation #52

Open Oliverq755 opened 4 years ago

Oliverq755 commented 4 years ago

Prerequisites

Angular material is not working after installing it to the free version of the argon-angular-dashboard screenshot attached.

Expected Behavior

The expected result should include:

Current Behavior

The current behavior includes only the styles of argon-angular-dashboard. It has all the dependencies installed, however, it doesn't show the styles of Angular material

Steps to Reproduce

In order to replicate this issue, follow the following steps:

  1. Download the free version of argon-angular-dashboard
  2. Add dependencies of angular material by using ng add @angular/material
  3. Add @import "~@angular/material/prebuilt-themes/indigo-pink.css"; in your styles.scss
  4. Add any component in your HTML component, for example, let take a button. <button mat-raised-button color="accent">Accent</button>
  5. Check the output on your page.

Context

Output screenshot

Screenshot from 2020-05-05 18-34-23 (1)