Ways to install Gulp in your Project

- Initialize the project using: 'npm init'. Here, you will be asked to write project name, description, version, author etc. Once everything is done, you will get 'package.json' file added in root folder.
- Install Gulp for project using: 'npm install --save-dev gulp'. Once it is completed, you will get 'node_modules' folder in your root. Now, if you go to 'package.json' file, you will see 'gulp' written there as it is installed.
- Create manually 'gulpfile.js' in root folder. When extra plugins like gulp-sass, gulp-browser-sync etc are used, you have to write those javascript file here.

Share this

Related Posts