Pug Tutorial Series

Pug.js tutorial : Introduction to pug

Pug tutorial series pugjs tutorial introduction


Pug is a high performance, robust, elegant, feature rich and easy to understand template engine. Pug is implemented using javascript for node.js and web browsers.It is released under MIT license.

Jade to Pug

Pug was formerly known as jade.However "jade" was a registered trademark and as a result a rename was required. After some brainstorming, the maintainers come up with the name pug .


This tutorial is designed for absolute beginners who need to learn pug from the scratch.


In order to understand the concepts properly, the programmer must have some basic understanding of the following : HTML , CSS , Javascript and node.js .


All the snippets used in the tutorial are available and can be cloned from our github repo :