Example site

Site

How start

Git clone

git clone https://github.com/webzwezda/html-mini--blog.git

Install modules gulp

But first install

  • Nodejs
  • NPM
  • Gulp

All modules Gulp

  1. browser-sync
  2. gulp
  3. gulp-concat
  4. gulp-file-include
  5. gulp-if
  6. gulp-minify-css
  7. gulp-sass
  8. gulp-sourcemaps
  9. gulp-uglifyjs

Need console spell

sudo npm i -D gulp gulp-if gulp-sass gulp-file-include gulp-sourcemaps gulp-concat browser-sync gulp-uglifyjs

Commands for run Gulp

Develop mode

Just run gulp

gulp

Well run gulp default create a file main.css and put in sourceMap

Product mode

It's command not put sourceMap in main.css

NODE_ENV=prod gulp

Command only generate *main.css

NODE_ENV=prod gulp sass