This project uses Foundation for Sites 6. It includes a Sass compiler and some gulp tasks.
To use this template, your computer needs:
This template can be installed with the Foundation CLI, or downloaded and set up manually.
First, install gulp
npm install -g gulp
In your command line, install the needed dependencies:
npm install
gulp watch
Start watching the sass files and trigger the sass compiler if there's changes (it automatically copy the style.css
file to the assets/css/
theme folder)
gulp build-css
Build a compressed css file with all the specified dependencies in js.styles
in gulpfile.js
(line 38)
gulp build-js
Build a compressed js file with all the specified dependencies in js.fileList
in gulpfile.js
(line 21)
gulp imgmin
Run a minification process to the images placed in assets/img/
. you can change this path by editing gulpfile.js