at-import / breakpoint

Really simple media queries in Sass
MIT License
2.09k stars 142 forks source link

bower install breakpoint-sass --save-dev next steps? #150

Closed mkoller closed 8 years ago

mkoller commented 8 years ago

After I ran bower install breakpoint-sass --save-dev it installed correctly in bower_components. How do I reference it? Do I call it by

@import "bower_components/compass-breakpoint/stylesheets/breakpoint"

in my main.scss file ? Do I have to add the folder using Compass's add_import_path config option instead of the standard require?

I am using https://github.com/yeoman/generator-gulp-webapp

bewards commented 8 years ago

If you're using Gulp or Grunt, you can add the includePaths setting:

    settings: {
        includePaths: ['bower_components/breakpoint-sass/stylesheets/']
    }

And then just use: @import "breakpoint" in your main app.scss file to use it in any partial.

mkoller commented 8 years ago

Thanks @bewards , this can be closed.