lua-resty-template:用于Lua和OpenResty的模板引擎(HTML)

时间:2021-04-29 08:21:04
【文件属性】:
文件名称:lua-resty-template:用于Lua和OpenResty的模板引擎(HTML)
文件大小:26KB
文件格式:ZIP
更新时间:2021-04-29 08:21:04
Lua lua-resty模板 lua-resty-template是Lua和OpenResty的编译(1)(HTML)模板引擎。 (1)编译意味着将模板转换为您可能会调用或调用的Lua函数或将string.dump作为二进制字节码blob string.dump到磁盘,以便以后与lua-resty-template或基本的load和loadfile标准Lua函数一起使用(请参阅以及)。 尽管通常不需要这样做,因为lua-resty-template在后台处理此问题。 带有lua-resty-template的Hello World local template = require " resty.template " -- OR local template = require " resty.template.safe " -- return nil, err on errors
【文件预览】:
lua-resty-template-master
----dist.ini(210B)
----README.md(57KB)
----.luacheckrc(17B)
----Changes.md(3KB)
----LICENSE(1KB)
----lua-resty-template-dev-1.rockspec(848B)
----Makefile(40B)
----lib()
--------resty()

网友评论