Holiday Notice: Support will be provided on a limited scale from December 24th, 2024, to January 2nd, 2025. Happy holidays and a wonderful New Year!

lpchwebservices free asked 4 years ago


Hi, I tried to add custom color variable by following the link

https://mdbootstrap.com/docs/react/css/colors/#scss

I am getting following error ./src/assets/scss/mdb-pro.scss (./node_modules/css-loader/dist/cjs.js??ref--6-oneOf-5-1!./node_modules/postcss-loader/src??postcss!./node_modules/resolve-url-loader??ref--6-oneOf-5-3!./node_modules/sass-loader/dist/cjs.js??ref--6-oneOf-5-4!./src/assets/scss/mdb-pro.scss) Module not found: Can't resolve './img/overlays/01.png' in ...

How to point to right image folder.


Jakub Chmura staff answered 4 years ago


Hi @lpchwebservices,

You have to follow instructions from Getting Started first, then you can add custom variables.

Getting Started - Sass instrictions

Remember to switch the sass instructions tab to pro.

Best, Kuba



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: Free
  • Premium support: No
  • Technology: MDB React
  • MDB Version: 4.25.5
  • Device: Desktop
  • Browser: Chrome
  • OS: Windows
  • Provided sample code: No
  • Provided link: Yes
Tags