This theme adds support for bower, sass, coffee script, browser-sync and other generators to yout wordpress installation
- css styling with sass and pre build helpers
- javascript development with coffee
- html templating with a hacked haml-coffee
- custom and predefined haml helpers via nodeJs modules
First you need to install nodeJs
npm install -g easy-website-generator coffee-script gulp
mkdir my-workspace
cd my-workspace
ewg init --theme wordpress
ewg serve
After running ewg serve the ewg will compile the html pages and opens a browser. On every source change the browser will reload.
Configuration expects wordpress files inside a code folder and defaults to theme twentysixteen. This can be changed by editing the ewg-config.yml. To adjust specific generators (only coffee, sass and bower are enabled by default) edit their config files inside the ewg/generators folder.
Dont forget to edit the bower.rc file, if you want to use bower commands from the root of your project.