Topic: Working with SCSS
Wojciech Staniszewski staff answered 3 years ago
Please check this link: https://mdbootstrap.com/docs/react/getting-started/installation#sass
I hope it will be helpful.
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Answered
- User: 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
arooly pro commented 3 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 3 years ago
Hi @arooly!
You can install a
sass
instead ofnode-sass
and everything should work. That's a typo in our documentation. The main plugin for the sass changed.Keep coding!