Skip to content

FrontendMatter/bs-layout-boilerplate-gulp-advanced

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Bootstrap Layout advanced gulp boilerplate

Advanced Gulp boilerplate for Bootstrap Layout.

Demo

You can see a working live demo of this boilerplate.

Features

  • advanced gulp workflow
  • compile Sass using gulp-sass (gulp wrapper for node-sass)
  • import Sass files directly from node_modules using sass-importer-npm
  • watch Sass files for changes and recompile
  • Minify CSS using gulp-clean-css (gulp wrapper for clean-css)
  • Automatically add CSS browser vendor prefixes to support the 2 most recent versions of all major browsers using PostCSS and autoprefixer
  • generate CSS sourcemaps using gulp-sourcemaps to enhance log messages when debugging
  • leverage browserify module system to bundle external vendor scripts and app scripts into a single JavaScript file
  • watch JavaScript files for changes and recompile browserify bundles, using watchify for fast incremental rebuilds
  • generate sourcemaps for browserify bundles to enhance log messages when debugging
  • clean dist assets before (re)builds using del
  • example of customizing colors

Usage

Clone the boilerplate repository

git clone https://github.com/themekit/bs-layout-boilerplate-gulp-advanced.git my-project
cd my-project

Install dependencies

npm install

Build

gulp

Watch

gulp watch