generator-foundation-gulp-mustache

Foundation, Sass, Gulp, Mustache, Browserify, BrowserSync Live Reloading

Usage no npm install needed!

<script type="module">
  import generatorFoundationGulpMustache from 'https://cdn.skypack.dev/generator-foundation-gulp-mustache';
</script>

README

Yeoman Foundation Generator

Yeoman generator for Zurb Foundation with:

Forked from gulp-mustache to add mustache.

  • Sass compiling (LibSass / Compass options)
  • Browserify dependency bundling
  • Gulp automation
  • BrowserSync server with live reloading
  • Mustache templating engine (option)

Getting Started

If Yeoman isn't already installed:

npm install -g yo

Install the generator from npm:

npm install -g generator-foundation-gulp-mustache

Navigate to your target directory and initiate the generator:

yo foundation-gulp-mustachej

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

Editing

Edit mustache, scss and js files in the src directory

Gulp will serve finalized versions to the build directory

License

MIT