Bryon Swanson pro asked 6 years ago


Hi, What's the recommended way to compile the custom.scss file to the style.css file for Version: MDB PRO 4.4.3 Thanks



custom.scss file should be compiled along with mdb.scss. That allows you to use mixins, variables and extends from MDB's sass file. That's the way that I recommend. It's safe because after MDB update you just need to copy your old custom.scss file to the new MDB If you want to have a separate style.css file, just create style.scss file in your sass directory and then compile your file

Max3er free commented 6 years ago

Hi, I am trying to compile the mdb.scss file, but get a error: sass sass/mdb.scss:css/mdb.css Error: Functions may not be defined within control directives or other mixins. on line 104 of sass/mdb/free/data/_mixins.scss from line 37 of sass/mdb.scss Thanks.

Bartłomiej Malanowski staff commented 6 years ago

What do you use to compile your scss files?


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: General Bootstrap questions
  • MDB Version: -
  • Device: -
  • Browser: -
  • OS: -
  • Provided sample code: No
  • Provided link: No
Tags