/yulegoat

Primary LanguageGLSL

Fire starter

Installation

Once you have cloned the project, you need to install Gulp globally:

$ npm install -g gulp

And then install the dependencies:

$ npm install

File structure

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.

Tasks

Dev

Builds CSS & JS files and watches for changes.

$ npm run dev

Server

Executes dev task and run a local server.

$ npm run server

Production

Build the files and minify them.

$ npm run prod