scotch / angular-brunch-seed

AngularJS + Brunch
Other
228 stars 78 forks source link

jquery-ui css not included #108

Open abbood opened 10 years ago

abbood commented 10 years ago

I Installed jQuery-ui by including it into my bower.json file as a dependency. then I ran bower install. This created the jquery-ui folder under _boswercomponents, it also included the jquery-ui javascript to the final dev build (ie if i go to /js/vendor.js I see the jquery.ui javascrpit library there)

however the jquery-ui css is not included. This is my config.coffee script (btw I deleted all the .less files since I'm using sass instead of less)..

please advise p.s. just for reference this is my package.json as well

kylefinley commented 10 years ago

I'm not sure @abbood,

Based on your config.coffee file it appears that the css should be included -- I think. You might be able to importing it explicitly from your SCSS file something like:

index.scss

@import "/bower_components/jquery-ui/somecss.css"

I hope that helps, sorry if I'm giving you bad advice, It's been a while since I've worked with this project.

abbood commented 10 years ago

can you tell me which script actually goes through the config.coffee file? i just wanna do some debugging, and find out why the script it's not doing it's job.. I think this is the part that's choking:

  stylesheets:
      joinTo:
        'css/app.css': /^(app|vendor|bower_components)/
abbood commented 10 years ago

the import idea didn't work. it should work.. initially when first loaded the project it included the css from the angular-bootstrap bower component.. there must be a script or something that goes inside the bower_components files but i'm not sure where that script is

kylefinley commented 10 years ago

I'm not sure. The bulk of the project is powered by brunch. I don't know if it's an issue with brunch, or my implementation of it, however.

abbood commented 10 years ago

quick question: do you know why my sass files turn into css files? sometimes both are included in the final build.. which is quite annoying