/gulp-test

A Gulp few sample test and beginner

Primary LanguageJavaScript

Gulp

A Gulp few sample test and beginner

Steps to follow:

  1. Install node.js

Open node commands prompt

  1. Run command > sudo npm install gulp -g (only mac users need sudo..windows without sudo)

  2. Create a gulp project - for that create a folder

Set path to that folder from cmd prompt

  1. Run command > npm init (commands create you package.json for your project)

Package created

  1. Run command > npm install gulp --save-dev (installing gulp into your project)

  2. Go to project folder and add a file called gulfile.js

  3. Run command > npm install gulp-sass --save-dev ( To compile Sass into css with the help of plugin, install gulp-sass ) Note: a) Make sure it's scss extention but plugin is sass.. b) Compile more than one .scss file into CSS using sass plugin