gulp-customize-bootstrap
A gulp plugin that overrides Bootstrap’s core Less or Sass files without modifying Bootstrap. This is a modified and extended version of grunt-customize-bootstrap.
See our examples for Bootstrap 3 and Bootstrap 4.
Install
npm install --save-dev gulp-customize-bootstrap
Usage
This plugin works using Bootstrap’s npm, bower, or static file installs. Just make sure you pass in the correct Bootstrap less or sass file using gulp.src
.
Bootstrap 3 using Less
var customizeBootstrap = ;var less = ; gulp;
Bootstrap 4 using Sass
Make sure that Bootstrap 4 is installed.
npm – npm install bootstrap@4.0.0-alpha.2
Bower – bower install bootstrap#v4.0.0-alpha.2
var customizeBootstrap = ;var sass = ; gulp;