Skip to content

Latest commit

 

History

History
25 lines (19 loc) · 541 Bytes

accessing-bower-components-scss.md

File metadata and controls

25 lines (19 loc) · 541 Bytes

Accessing 'bower_components' in .scss files without having to path ../../bower_components/

var sassOptions = {
  loadPath: [ options.src + '/../bower_components/my-styles/'],
  style: 'expanded'
};

For those who use Foundation 5:

var sassOptions = {
  loadPath: [options.src + '/../bower_components/foundation/scss'],
  style: 'expanded'
};

And then you can write this in the index.scss

@import 'foundation';