Skip to content

Instantly share code, notes, and snippets.

View aaronwaldon's full-sized avatar

Aaron Waldon aaronwaldon

View GitHub Profile
@aaronwaldon
aaronwaldon / 1) readme.md
Last active March 24, 2023 14:25
How to set up Gulp for Craft CMS. Includes SASS compilation and minification, JavaScript minification, livereloading, and browser sync.

How to set up Gulp with a Craft CMS project

I freaking love working with technologies like Gulp, and wanted to share how to get my current Craft front-end workflow set up. With a few tweaks, this can also be used with virtually any other sites (I've used it with Laravel, static sites, ExpressionEngine, etc).

Project Directory Structure

  • project root/
    • craft/
      • templates/
  • (your craft template files)
@aaronwaldon
aaronwaldon / 1) readme.md
Last active February 3, 2018 05:28
Gulp workflow as of 3 Nov 2014

#Gulp Workflow

##First Time Setup

The following steps only need to happen once:

  • Step 1 Add package.json and gulpfile.js to the root of your project.
  • Step 2 If Node is not yet installed on the machine, it will need to be installed.
  • Step 3 If Gulp has never been set up on the machine, the Gulp CLI will also need to be installed by running npm install gulp -g
@aaronwaldon
aaronwaldon / 1) readme.md
Last active September 2, 2024 04:01
How to set up Gulp for Compass compilation and minification, JavaScript minification, livereloading, and use with ExpressionEngine.

How to set up Gulp with an ExpressionEngine project

I freaking love working with technologies like Grunt and Gulp, and wanted to share how to get my current EE front-end workflow set up. With a few tweaks, this can also be used with virtually any other sites (I've used it with Laravel, static sites, Craft, etc).

Install Node.js

  • If Node is not yet installed on the machine, it will need to be installed

Install Gulp (if needed)