dot-tpl-loader
v1.2.1
Published
dot template loader with query options for webpack
Downloads
262
Readme
Usage
var template = require("./file.tpl");
var html = template(data);
// or
var html = template.render(data);
Recommended config
module.exports = {
module: {
loaders: [
{ test: /\.tpl$/, loader: "dot-tpl?append=true" }
]
}
};