Yeoman generator for Zurb Foundation with:
- Foundation 6
- Sass compiling (LibSass / Compass options)
- Browserify dependency bundling
- Gulp automation
- Babel for ECMAScript 6 via the ES2015 preset
- BrowserSync server with live reloading
- Bourbon mixin library (option)
- Jade templating engine (option)
- Font Awesome (option)
If Yeoman isn't already installed:
npm install -g yo
Install the generator from npm:
npm install -g generator-gulp-foundation-sass-babel-browserify
Navigate to your target directory and initiate the generator:
yo gulp-foundation-sass-babel-browserify
Run gulp
to start the server and watch for changes:
gulp
Include the --prod
flag to export production-ready minified files (note: increases gulp task time, leave off for dev purposes):
gulp --prod
Edit html/jade, scss and js files in the src
directory
Gulp will serve finalized versions to the build
directory
MIT