Topic: Working with SCSS

arooly pro asked 2 years ago


There is any tutorial on how to install SCSS on MDB-React-5.2 ?


arooly pro commented 2 years ago

Thank you. Unfortunately this tutorial is not valid anymore since the node-sass is deprecated and is giving error when I try to install.

I have 16.14.0 and when I use node-sass@6.0.1 that is installing is giving error when I start mdb: Node Sass version 6.0.1 is incompatible with ^4.0.0.

I try to use Dart Sass but again mdb is not compiling.

Do you have some versions numbers that it will work with mdb-pro.

Thank you.


Krzysztof Wilk staff commented 2 years ago

Hi @arooly!

You can install a sass instead of node-sass and everything should work. That's a typo in our documentation. The main plugin for the sass changed.

Keep coding!



Please check this link: https://mdbootstrap.com/docs/react/getting-started/installation#sass

I hope it will be helpful.



Please insert min. 20 characters.

FREE CONSULTATION

Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.

Status

Answered

Specification of the issue

  • ForumUser: Pro
  • Premium support: No
  • Technology: MDB React
  • MDB Version: MDB5 2.0.0
  • Device: PC
  • Browser: Chrome, Firefox
  • OS: Window 10
  • Provided sample code: No
  • Provided link: No
Tags