Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bootflat and webpack #103

Open
0plus1 opened this issue Nov 11, 2016 · 4 comments
Open

Bootflat and webpack #103

0plus1 opened this issue Nov 11, 2016 · 4 comments

Comments

@0plus1
Copy link

0plus1 commented Nov 11, 2016

Hi, loading the file with an import in webpack, results in a loader error for the iradio image.

background: url("../bootflat/img/check_flat/default.png") no-repeat;

This is the offending line (which is the same in the scss), the bootflat folder doesn't exist, the correct one should be:

background: url("../img/check_flat/default.png") no-repeat;

Is there a reason for this folder structure?

@heyfirst
Copy link

I have the same problem.

@mrs83
Copy link

mrs83 commented Dec 30, 2016

Same problem here.

@queses
Copy link

queses commented Feb 25, 2017

Same problem

@boomhq
Copy link

boomhq commented Jun 23, 2017

You need to use SASS version of Bootflat and set $img-src variable on your own SASS before loading Bootflat.
In this way (on my case) :

   $img-src: "~/bootflat/bootflat/img/check_flat.png" 
  @import "~/bootflat/bootflat/scss/bootflat"

https://github.com/bootflat/bootflat.github.io/blob/master/bootflat/scss/bootflat/_checkbox_radio.scss#L3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants