Angular 4 Mdb With Webpack 3 SCSS Hardcode

web
mobile

Topic: Angular 4 Mdb With Webpack 3 SCSS Hardcode

Taras Pysarskyi asked 3 years ago

Hi guys, Thanks you for amazing Jquery-free framework. I just spend few howers to make it work with Webpack 3 by changing sccs variables (paths). I have still stuck with one problem:there is hardcore in  "..\angular-bootstrap-md\scss\mdb\free\_masks.scss" file: @each $no, $filename in $patterns {.pattern-#{$no} {background: url('../img/overlays/#{$filename}.png');}} Be so kind to change it to: @each $no, $filename in $patterns {.pattern-#{$no} {background: url('#{$image-path}/overlays/#{$filename}.png');}} It will save a lot of time for others as well and will make it work with Webpack 3
Thanks!

Dawid Adach pro answered 3 years ago

Dear Taras, thank you for your feedback, we will include it within next release :) Dawid

Taras Pysarskyi commented 3 years ago

Thanks, Looking forward for that.

Please insert min. 20 characters.
Status

Answered

Specification of the issue
  • User: Free
  • Premium support: No
  • Technology: Angular
  • MDB Version: -
  • Device: -
  • Browser: -
  • OS: -
  • Provided sample code: No
  • Provided link: No