domthingify
v0.2.0
Published
Browserify transform for [domthing](http://github.com/latentflip/domthing).
Readme
Domthingify
Browserify transform for domthing.
Install
npm install domthingify domthingUsage
Require your domthing templates directly from your scripts, including the .dom extension:
var MyView = View.extend({
template: require('./path/to/template.dom')
});Add domthingify to your browserify transform list.
With browserify:
browserify app.js -o bundle.js -t domthingifyWith beefy:
beefy app.js -- -t domthingifyWith moonboots:
var moonbootsConfig = { main: __dirname + '/sample/app.js', libraries: [ ... ], stylesheets: [ ... ], browserify: { transforms: [ 'domthingify' ] } };
License
MIT
