Skip to content
This repository has been archived by the owner on Nov 9, 2017. It is now read-only.

Latest commit

 

History

History
30 lines (22 loc) · 562 Bytes

README.md

File metadata and controls

30 lines (22 loc) · 562 Bytes

Component-Jade-Fixed

Only for component < 1.0.0

Install

# the module to --use
npm install component-jade-fixed
# depends on the jade runtime -- only needed if you use the .scripts
component install component-jade-fixed

Usage

component.json :

{
  // - Require a Jade function
  // usage : div.innerHTML = require('./template.html')({my: 'arguments'})
  "scripts": ["template.jade"],

  // - Require a HTML string
  // usage : div.innerHTML = require('./tmpl-html.html')
  "templates": ["tmpl-html.jade"]
}