扫码关注官方订阅号
underscore的模板功能能做这个事吗,有没有这类js库
学习是最好的投资!
iframe
ejs 模板原生是支持的,underscore 模板用的就是ejs语法
<% include user/show %>
没用过underscore,不知道。
reactive 算是吧。ejs jade都可以。ejs 跟 jsp类似,但是jade写代码更简洁。
ejs
jade
用gulp-ejs之类的来处理模板
想起了jekyll
html本身没有。需要使用js库,模板引擎技术
html没有,模板库可以有,比如jade,ejs没用过不知道
underscore直接用呗,要啥库,比如这样?
微信扫码关注PHP中文网服务号
QQ扫码加入技术交流群
Copyright 2014-2025 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号
PHP学习
技术支持
返回顶部
iframe
ejs 模板原生是支持的,underscore 模板用的就是ejs语法
没用过underscore,不知道。
reactive 算是吧。
ejsjade都可以。ejs 跟 jsp类似,但是jade写代码更简洁。
用gulp-ejs之类的来处理模板
想起了jekyll
html本身没有。需要使用js库,模板引擎技术
html没有,模板库可以有,比如jade,ejs没用过不知道
underscore直接用呗,要啥库,比如这样?