Simple access to how Gulp works
npm install --global gulp-cli
npm init
npm install --save-dev gulp
Using your text editor, create a file named gulpfile.js in your project
For example I've installed these packages:
- npm install sass gulp-sass gulp-sourcemaps gulp-concat dotenv gulp-if gulp-if-env gulp-uglify browser-sync --save-dev
and etc.
Run project and explore to index.html file, have fun.
|- src/ |- css/ |- fonts/ |- images/ |- index.html |- js/ |- scss/ |- dist/ |- gulpfile.js |- node_modules/ |- package.json