Skip to content

meglad/jhtmls-loader

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

jhtmls-loader


npm

jhtmls 模版的 webpack 预编译 loader

安装

$ npm install jhtmls-loader

说明 (模版具体用法请看 https://github.com/zswang/jhtmls)

var data = {...};
var render = require('jhtmls!./template.html');   // 返回渲染函数
document.body.innerHTML = render(data);

LICENSE MIT

About

jhtmls 模版引擎的 webpack 预编译 loader

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published