【文件属性】:
文件名称:grunt-hui-template
文件大小:7KB
文件格式:ZIP
更新时间:2021-06-07 17:53:38
JavaScript
grunt-hui-template -- 模板引擎HUI.template的扩展插件.
该项目包含了以下特性:
可以将模板文件编译为模板js文件
可以通过参数配置不同的输出选项
APIs
src
指定模板文件的源
dest
指定模板文件的生成路径
banner
设置生成的模板js文件的banner,支持grunt.template模板
footer
设置生成的模板js文件的footer,支持grunt.template模板
beautify
设置是否要美化生成的js文件
文档
参考Sample内容
参考链接
https://github.com/danielhe/grunt-hui-template
https://github.com/danielhe/hui-template
【文件预览】:
grunt-hui-template-master
----LICENSE-MIT(1KB)
----Gruntfile.js(291B)
----demo()
--------index.html(2KB)
--------index.tp.js(1KB)
--------tmpl2.tp(59B)
--------tmpl2.tp.js(444B)
--------index.tp(758B)
----tasks()
--------hui-template.js(2KB)
----README.md(677B)
----.gitignore(100B)
----package.json(384B)
----changelog.md(383B)