What is Mustache?
What is Pug?
Need advice about which tool to choose?Ask the StackShare community!
Sign up to add, upvote and see more prosMake informed product decisions
What are the cons of using Mustache?
What are the cons of using Pug?
Sign up to get full access to all the companiesMake informed product decisions
We use Mustache, a logic-less templating language, to represent our models as HTML. While ‘harnessing the full power of [INSERT YOUR FAVORITE LANGUAGE HERE] in your templates’ sounds like a good idea, it seems that in practice it requires a lot of developer discipline to maintain comprehensible code. We’ve been very happy with the ‘less is more’ approach of Mustache, which allows us to re-use template code without encouraging us to mingle it with our client logic and make a mess of things.
We use Jade when writing HTML, which is much easier to read and maintain. We compile it to HTML before deploying it though, and don't use Jade's client-side rendering features.
Mustache is a simple logicless template language.
It is lightweight, and currently suits my templating needs.
I use it, in lieu of things like React SSR etc.
We use Jade for constructing our modular UI. We also rely on Jade interpolation to pass reactive and static values from our Express server.
front-end 수업 때 들은 jade 입니다. html을 효과적으로 다룰 수 있고로 열고 닫을때 혼돈이 없어 좋아합니다. 현재 프로젝트에 gulp와 함께 붙이려는 계획을 갖고 있지만, 아직 연습이 더 필요하다고 생각됩니다.
We use Mustache to allow us to create easy and reusable templates on our sites.
Nice templating system, but lacks proper namespacing for non-html / xml data.