Yeoman generator for HTML5 banner development.
- CSS Autoprefixing
- Built-in preview server with LiveReload
- Spritesheet generation support using grunt sprite
- Install
npm install -g generator-banner-th
- Create a new project folder and cd into it
- Run
yo banner
and follow the instructions - For additional sizes, run
yo banner-th:add WIDTHxHEIGHT
- Run
grunt serve --target=WIDTHxHEIGHT
for preview and live reload - Run
grunt build --target=WIDTHxHEIGHT
for a production ready build