Clone and run npm install && gulp
!
Just run the gulp
command and a devserver starts and a watcher for the changes. With gulp build
you can force a
rebuild of it all.
Files in /src/assets/js/
make use of Webpack. You can find the config in
/webpack.config.js
. It is configured to support bower and ES6 with
es6-transpiler and
es-module-transpiler.
The jade files inside /src/
are being compiled to .html and placed inside /httpdocs/
. The
folder /src/includes/
is excluded and can be used to place inclusions/mixins in. The file /src/context.js
is
included when compiling the templates.
The CSS is being build with node-sass, and the vendor prefixes are magicly being added by Autoprefixer.
JPG, PNG, GIF and SVG files inside /src/assets/img/
are being compressed and copied to /httpdocs/assets/img/
.
Changed to you CSS and HTML update in the browser without pressing F5.