TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

A proper JavaScript templating engine with a sane syntax

12 点作者 pablasso将近 12 年前

4 条评论

jamesRaybould将近 12 年前
That looks a hell of a lot like underscore.js templates (<a href="http://underscorejs.org/#template" rel="nofollow">http:&#x2F;&#x2F;underscorejs.org&#x2F;#template</a>) to me. What would be the advantage if I was to make the swap?
评论 #6059835 未加载
ricardobeat将近 12 年前
What makes it different from EJS?
评论 #6059827 未加载
tucaz将近 12 年前
Not sure this would work with any ASP.NET app other than the ones using Razor engine since &lt;% and &lt;%= are reserved words for outputting data.
评论 #6059517 未加载
beebs93将近 12 年前
Any plans for template inheritance (e.g. swig)?
评论 #6059849 未加载