Once you have cloned the project, you need to install Gulp globally:
$ npm install -g gulp
And then install the dependencies:
$ npm install
Organise your files in a component structure: JavaScript, template and styles
of a component should be in the same folder. (ex: /app/components/menu
.)
Then, they will be build in the /static/build
folder.
Images, fonts and other assets have to be in the /static/{images,fonts}
folders.
Builds CSS & JS files and watches for changes.
$ npm run dev
Executes dev
task and run a local server.
$ npm run server
Build the files and minify them.
$ npm run prod