Node.js 是否有自然模板
自然模板(如 Thymeleaf template engine )是指模板页面或其部分可以作为原型(prototype)完美地显示在浏览器中,而无需执行。 也就是说,我有一个扩展名为 .html 的模板,我可以在浏览器中打开预览它,并使用标准的 HTML 开发工具进行编辑。
更新:我已添加回答,已在评论中添加。 (StackOverflower 的新用户害怕添加答案吗?)希望收到实际使用这些东西的开发人员的意见(只需添加新答案)
最佳答案
github.com/flatiron/plates (亨利将军回答)
Plates (short for templates) binds data to markup. Plates has NO special syntax. It works in the browser and in Node.js.
活跃
关于node.js - Node.js 的自然模板 .html(如 Thymeleaf),我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/15652602/