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

listing multiple css files in config.js #51

Open
MichalSe opened this issue Aug 4, 2014 · 3 comments
Open

listing multiple css files in config.js #51

MichalSe opened this issue Aug 4, 2014 · 3 comments

Comments

@MichalSe
Copy link

MichalSe commented Aug 4, 2014

this doesn't work for me:
css_paths: [ '/styleguide/css/theme.css','/application.css'],

it only reads the first css file not the second.

@pospi
Copy link
Collaborator

pospi commented Aug 7, 2014

Hmm, I've had a bit of a look and fixing that turns out to be a very deep change. I have some other refactoring tasks in my todo list to remove unnecessary HTTP requests so when I get the time will take a look at getting this working as part of that sweep.

@CYCTina
Copy link

CYCTina commented Aug 12, 2014

i have exactly the same issue! Only the first file is read.
css_paths: ['/css/sass/main.css', '/css/sass/jqueryUI.css'],

This is what shows up in the request url.
http://localhost:2000/css/styleguide2/:///css/sass/jqueryUI.css?bust=1407856812603

However, first one gets just fine.
http://localhost:2000/css/sass/main.css

@vdms
Copy link

vdms commented Aug 28, 2014

Same here. What I have done to keep working is to put the real path only in the first file.

Kalei seems to treat the others as if they are in the same directory as the first one appointed. So, you just need to use the file name instead the whole path.

example:
'/myapp/pre-processor-of-my-choice/first-file.preprocessor',
'second-file.preprocessor',
...

Try that until we have a fix. :)

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

4 participants