Learn about our RFC process, Open RFC meetings & more.Join in the discussion! »

jext-loader

1.0.4 • Public • Published

JEXT webpack loader

Webpack config example

{
  ...
  module: {
    loaders: [
      ...
      { test: /\.jext/, loader: "jext" }
    ]
  }
}

Simple usage

var jext = require('jext');
var template = require('example.jext');
var pool = jext.pool(template);
 
var example = pool.get('example');
document.body.appendChild(example.dom());
example.update({param: 'value'});

More info

See JEXT github page: https://github.com/dmitrykuzmenkov/jext

Install

npm i jext-loader

DownloadsWeekly Downloads

0

Version

1.0.4

License

MIT

Last publish

Collaborators

  • avatar