gobble-jade-es6

1.0.2 • Public • Published

Precompile jade templates into your bundle

Usage:

const gobble = require('gobble');
 
module.exports = gobble([
  gobble('src/root'),
  gobble([
    gobble('src/js'),
    gobble('src/jade').transform('jade-es6')
  ])
]);

And then in your ES6 file:

import myTemplate from './myTemplate.jade';
const markup = myTemplate({ attr: 'value' });

Package Sidebar

Install

npm i gobble-jade-es6

Weekly Downloads

2

Version

1.0.2

License

MIT

Last publish

Collaborators

  • julienw