flowpack/mustache
最新稳定版本:0.0.1
Composer 安装命令:
composer require flowpack/mustache
包简介
Mustache template Fusion object
README 文档
README
Opinionated Mustache templates.
TL;DR
composer require flowpack/mustache- Inherit the Template object and set template variables as keys
prototype(Your.Site:Hello) < prototype(Flowpack.Mustache:Template) {
planet = 'Earth'
}
-
Place a Mustache template into
Packages/Sites/Your.Site/Resources/Private/Fusion/Hello/Hello.html. E.g.Hello, {{planet}} -
Alternatively you can use it as an Eel helper, e.g.
@process.params = ${Mustache.render('Hello, {{planet}}', {planet: 'Earth'})}. Useful for replacing some placeholders in content.
TODO: object access
统计信息
- 总下载量: 268
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: GPL-3.0
- 更新时间: 2020-12-31