A Gulp few sample test and beginner
Steps to follow:
- Install node.js
-
Run command > sudo npm install gulp -g (only mac users need sudo..windows without sudo)
-
Create a gulp project - for that create a folder
- Run command > npm init (commands create you package.json for your project)
-
Run command > npm install gulp --save-dev (installing gulp into your project)
-
Go to project folder and add a file called gulfile.js
-
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