laras126 / simple-sassy-starter

A simple guide to getting started with Sass. Except that's a lie, these things are never actually simple.
71 stars 4 forks source link

Prepared Gulp usage for Sass compiling #4

Closed leymannx closed 6 years ago

leymannx commented 8 years ago

As an alternative to Compass let's use Gulp. It's much faster. I created automated Gulp tasks to run. When 'gulp' is executed in local repo's folder it will automatically compile, add browser prefixes and minify CSS.

Steps to get Gulp running:

  1. Install npm on your machine. (There are several ways. The easiest maybe is to simply click the Node.js installer downloaded from https://nodejs.org/.)
  2. Open terminal, move into this repo's folder.
  3. Run 'npm install'. (This will check the package.json and install specified packages.)
  4. Run 'gulp'. (This will check the gulpfile.js and run the specified tasks.)
  5. Edit your Sass files and witness the magic.