Adding Jade to Yeoman’s Webapp Generator

By Agustin September 2, 2015

Based on this article: http://phuse.ca/short-circuits-using-jade-templates-with-yeoman/, but modified for the current version of the yeoman generator at the time of this writing.

npm install generator-webapp

yo webapp

npm install grunt-contrib-jade --save-dev

Then edit your gruntfile to match the pastebin snippet below, and you are good to go!

 


Useful Links

jade-lang.com/reference/

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *