A Bootstrap v4.3.1 boilerplate with Sass, concatenation, minification, autoprefixer, Browsersync, hot reloading all runned by Gulp.
# 1 Clone this repo
git clone https://github.com/VugarAhmadov/gulp-boilerplate.git
# 2 Navigate into the repo directory
cd gulp-boilerplate
# 3 Install all node packages
npm install
# 4 Get started
gulp
This project requires you have nodejs with npm installed. This project requires you have a global installation of gulp.
# Install gulp globally
npm install -g gulp
npm install -g gulp-cli
CLI version: 2.0.1
Local version: 4.0.0
gulp
The 'gulp' command starts a local Browsersync server that serves your files in the browser. It reloads the current page when changing HTML, Sass and JS files. The output of all Sass files go to main.min.css The output of custom JS file goes into main.min.js You can access the development server with other devices on the same network. Go to the "External" address specified by Browsersync (see the terminal) in the web browser of your device.
gulp
- Bootstrap - v4.3.1
- jQuery - v3.3.1
- popper.js - v1.14.7
- FontAwesome.js - v5.7.2