domthingify
Browserify transform for [domthing](http://github.com/latentflip/domthing).
Last updated 6 years ago by latentflip .
MIT · Original npm · Tarball · package.json
$ cnpm install domthingify 
SYNC missed versions from official npm registry.

Domthingify

Browserify transform for domthing.

Install

npm install domthingify domthing

Usage

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 domthingify

  • With beefy: beefy app.js -- -t domthingify

  • With moonboots:

    var moonbootsConfig = {
        main: __dirname + '/sample/app.js',
        libraries: [ ... ],
        stylesheets: [ ... ],
        browserify: {
            transforms: [ 'domthingify' ]
        }
    };
    

License

MIT

Current Tags

  • 0.2.0                                ...           latest (6 years ago)

5 Versions

  • 0.2.0                                ...           6 years ago
  • 0.1.1                                ...           6 years ago
  • 0.1.0                                ...           6 years ago
  • 0.0.2                                ...           6 years ago
  • 0.0.1                                ...           6 years ago
Downloads
Today 0
This Week 1
This Month 3
Last Day 0
Last Week 0
Last Month 3
Dependencies (2)
Dev Dependencies (1)
Dependents (1)

Copyright 2014 - 2016 © taobao.org |