Using a set of boilerplate files when you're starting a website project can be a huge time-saver. Instead of having to start from scratch or copy and paste from previous projects, you can get up and running in just a minute or two.
- Clone or download this Git repo onto your computer.
- Install Node.js if you don't have it yet.
- Run
npm install
- Run
gulp
to run the default Gulp task without browser sync - Run
gulp sync
on the command line to run task with browser sync
In this proejct, Gulp is configured to run the following functions:
- Compile the SCSS files to CSS
- Autoprefix and minify the CSS file
- Concatenate the JS files
- Uglify the JS files
- Move final CSS and JS files to the
/dist
folder