Skip to content

Latest commit

 

History

3 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

loop-template

支持each指令(可嵌套)和插值替换的简易模板

使用:

详情可参考tests中用例

new Template(templateStr).render(context)

语法:

  • {{expression}} 插值替换
  • {{each [name] in [data]}} ... {{/each}} 循环

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages