Bootstrap 4.5.1 Gulp 4.0.2 Sass Boilerplate
A not so overkill front-end workflow environment or boilerplate.. whatever you want to call it. bootstrap 4.5.1, For gulp 4, sass and BrowserSync using NPM and Gulp. Automatically compiles and minifies Bootstrap, fontawesome, jquery's node_modules files into the dist folder. Fork, star or use it in your project.
Requirements
- Node.js with NPM
- Gulp
Getting started
- Clone repository:
git clone https://github.com/designdust/bootstrap-4-gulp-4-sass-boilerplate.git
- Change directory:
cd bootstrap-4-gulp-4-sass-boilerplate
- Install all node modules:
-
npm install
-
Make sure you can run
gulp -v
andnpm -v
- Run Gulp Task:
-
gulp
- Compiles scss to css, minify css and js and builds apps ready for production into the dist folder. -
gulp watch
- Starts localhost server with browser-sync, watches HTML, Sass, JS with hot reloading.
Overwriting Bootstrap Variable in Sass
bootstrap-4-sass-gulp-4-boilerplate/assets/scss/_bootstrap_variable_overrides.scss