Lines Matching refs:pug
1 # pug-runtime
3 The runtime components for the pug templating language
5 …ild Status](https://img.shields.io/travis/pugjs/pug-runtime/master.svg)](https://travis-ci.org/pug…
6 …us](https://david-dm.org/pugjs/pug/status.svg?path=packages/pug-runtime)](https://david-dm.org/pug…
7 …](https://david-dm.org/pugjs/pug/dev-status.svg?path=packages/pug-runtime)](https://david-dm.org/p…
8 [](https://www.npmjs.org/package/pug-ru…
12 npm install pug-runtime
20 var runtime = require('pug-runtime');
28 var build = require('pug-runtime/build');
35 …it is necessary to make the runtime available. To do so, one can use `require('pug-runtime/wrap')`:
38 var pug = require('pug');
39 var wrap = require('pug-runtime/wrap');
44 var compiledCode = pug.compileClient(pugSrc, {
47 //=> 'function template (locals) { ... pug.escape() ... }'
54 compiledCode = pug.compileClient(pugSrc, {