htmlwebstormhtml5boilerplate

I just created an HTML 5 Boilerplate project in WebStorm. Is there a standard command for compiling the "dist" folder?


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:

enter image description here


Solution

  • 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.