Login  |  Registrieren

Getting Started – Pug

2018-8-8 · Getting Started Installation ¶. Pug is available via npm: $ npm install pug Overview ¶. The general rendering process of Pug is simple. pug.compile() will compile the Pug source code into a JavaScript function that takes a data object (called “locals”) as an argument.Call that resultant function with your data, and voilà!, it will return a string of HTML rendered with your data.

Alexa Traffic


Listing Links