October 25, 2024
Chicago 12, Melborne City, USA
CSS

After updating to Angular 18 and Material, the method for applying CSS has changed


I created a custom component by extending MatCheckbox.

Before the update, I was able to apply the default CSS using:

scss

@use '@material/checkbox/mdc-checkbox';

However, after upgrading Angular and Material to version 18, @use ‘@material/checkbox/mdc-checkbox’; no longer exists. What is the recommended alternative to achieve the same functionality?



You need to sign in to view this answers

Leave feedback about this

  • Quality
  • Price
  • Service

PROS

+
Add Field

CONS

+
Add Field
Choose Image
Choose Video