jade plugin for normalize-walker.
-
dependencies.jade
- The version ofjade
to use, defaulting to*
Convert .jade
templates to a function.
module template from 'template.jade.js'
var html = template({
username: 'me'
})
Compile .jade
files to HTML.
With .js
at the end,
compiles it to JS string.
As a string:
module html from 'template.jade.html.js'
document.body.insertAdjacentHTML('afterend', html)
With other transforms:
module Template from 'template.jade.html.domify.js'
var el = Template.cloneNode(true)
document.body.appendChild(el)