Skip to content

Latest commit

 

History

History

front

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

WordPress theme Frontend

This project uses Foundation for Sites 6. It includes a Sass compiler and some gulp tasks.

Installation

To use this template, your computer needs:

This template can be installed with the Foundation CLI, or downloaded and set up manually.

Manual Setup

First, install gulp

npm install -g gulp

In your command line, install the needed dependencies:

npm install

Commands

Watch

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)

Build CSS dependencies

gulp build-css

Build a compressed css file with all the specified dependencies in js.styles in gulpfile.js (line 38)

Build JS dependencies

gulp build-js

Build a compressed js file with all the specified dependencies in js.fileList in gulpfile.js (line 21)

Image minification

gulp imgmin

Run a minification process to the images placed in assets/img/. you can change this path by editing gulpfile.js