walker-jade

0.0.0 • Public • Published

Walker Jade

jade plugin for normalize-walker.

Options

  • dependencies.jade - The version of jade to use, defaulting to *

Transformations

.jade.js

Convert .jade templates to a function.

module template from 'template.jade.js'

var html = template({
  username: 'me'
})

.jade.html...

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)

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.0.0
    1
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.0.0
    1

Package Sidebar

Install

npm i walker-jade

Weekly Downloads

1

Version

0.0.0

License

MIT

Last publish

Collaborators

  • jongleberry