question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

$image-path not used in _masks.scss, breaks sass compile

See original GitHub issue

See the conversation on your forum, here.

Trying to compile for sass generates the error:

“Cannot find module “…/img/…””

There already exists a $image-path that we should be able to use to provide the path.  It is already being used in _carousel-basic.  But it is not being used in _masks, hence the error.

The current solution is absolutely not reasonable, expecting us to “customize” mdbootstrap by modifying files located in the node_modules folder.

Using mdbootstrap v4.4.1.

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Reactions:1
  • Comments:7 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
darioblancocommented, Mar 9, 2018

I can’t understand why such a small fix is still not addressed in 6 months. Importing this via sass seems a very important feature to me.

0reactions
Martusskycommented, Oct 8, 2018

Hi, we’ve fixed that. Best, Marta

Read more comments on GitHub >

github_iconTop Results From Across the Web

SCSS image path not working - Stack Overflow
I'd personnally set the images url to fit the style.css needs. In my point of view, style.scss is here only to provide more...
Read more >
Can't use relative paths in url() in scss files #12797 - GitHub
I would like to be able to use the relative file path in the scss file. I know this is solved by using...
Read more >
Migrating to USWDS 3.0 - Digital.gov
Update your Sass compiler settings and recompile CSS. USWDS 3.0 requires the use of Sass Load Paths to compile properly. USWDS 3.0 load...
Read more >
The Asset Pipeline - Ruby on Rails Guides
The asset pipeline provides a framework to concatenate and minify or compress JavaScript and CSS assets. It also adds the ability to write...
Read more >
mdbootstrap - npm
Material Design for Bootstrap comes with both, compiled, ready to use libraries including all features as well as modules for CSS (SASS ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found