Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to use Yeoman with Express/Jade/Stylus?

I recently found out about Yeoman and found it can be very useful in improving workflow. However, I noticed it seem to focus only on client side projects? ExpressJS is a popular framework that seems to be been missed out?

However, I still think its possible to integrate it into Yeoman, perhaps with custom generators? Is there something like that already available? If not how might I start?

It will not be as simple, along with Express, I will be using Jade/Stylus the defaults express uses for precompiling HTML and CSS.

like image 879
Jiew Meng Avatar asked Dec 28 '12 09:12

Jiew Meng


1 Answers

The initial goal of Yeoman was to tackle front-end web apps.

Opinionated workflow with the back-end is planned, but is currently a bit cumbersome to do. Use of Jade/Styles is possible, but a bit ugly.

All this will be much easier with Yeoman 1.0, which will be more customizable and will let you use whatever grunt tasks you want.

like image 116
Sindre Sorhus Avatar answered Sep 19 '22 04:09

Sindre Sorhus