I'm getting started with WebStorm 9. I created an HTML 5 Boilerplate project and I noticed a src
and a dist
folder.
Is there a standard command to compile the content of the src
folder into the dist
folder?
This is how my project looks like:
It looks like HTML5 Boilerplate comes with a gulpfile.js
file, so it looks like it wants to use Gulp to build assets from src
into dist
.
If you have Gulp installed, you can run gulp build
in your project directory.
If you don't have Gulp installed, you should install it with npm. HTML5 Boilerplate has a package.json
file that includes Gulp, so install npm and then run npm install
in your project directory, and that should install everything that HTML5 Boilerplate expects.
If you are using webStorm: just right click the package.json
, you will find something like run npm install
. It will do everything for you. After this right click the gulpfile.js
file, and choose show Gulp tasks. Then you will find what you can do in Gulp window.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With