Bootstrap-Starter be build base on the framework Twitter Bootstrap and integrated Font Awesome with latest version. Moreover Bootstrap-Starter help you resolve problems about: image sprite, svg sprite, layout responsive.
gulp-pug - Enables you to compile your Pug templates into HTML or JS. gulp-less - A LESS plugin for Gulp help you compile Less to CSS. browser-sync - Keep multiple browsers & devices in sync when building websites. gulp-plumber - Prevent pipe breaking caused by errors from gulp plugins. gulp-cssmin - Plugin to minify CSS, using clean-css. gulp.spritesmith - Generate an IMAGE (jpg, png) sprite sheet. Retina support. gulp-svg-sprites - Generate an SVG sprite sheet.
I. Install Gulp
$ npm i -g gulp
II. Install the dependencies:
npm install
III. Install Bootstrap Intergrade Bootstrap
gulp install-bootstrap
Update Bootstrap latest version
gulp update-bootstrap
IV. Intergrade Font-Awesome Intergrade Font-Awesome:
gulp install-fa
Update Font-Awesome latest version:
gulp update-fa
Run command below to work:
gulp watch
Create dist folder and dist.zip
gulp public
gulp dist
If you not use Font Awesome, gulp.spritesmith or gulp-svg-sprites please comment or remove Related codes to avoid error when you build project. Related files: gulpfile.js, style.less, main.less