maxmx / bootstrap-stylus

Port of Bootstrap to Stylus
MIT License
585 stars 113 forks source link

Usage with gulp-stylus #101

Closed armellarcier closed 9 years ago

armellarcier commented 9 years ago

Hi! Help needed. Can't figure how to use the package with gulp-stylus.

Couldn't find help in closed issues. gulp-stylus doesn't have a use func...

morenoh149 commented 9 years ago
var bootstrap = require('bootstrap-styl'),
    stylus    = require('gulp-stylus');

gulp.task('styles', function () {
  gulp.src('./css/**/*')
    .pipe(stylus())
    .pipe(gulp.dest('./css/build'));
});

assuming you placed bootstrap-stylus files under ./css/ it should all get bundled up.

maxmx commented 9 years ago

thx @morenoh149