【发布时间】:2023-03-23 01:35:02
【问题描述】:
我目前有一个使用 Meteor 制作的网站,该网站基于以下模板:
<body>
{{>section1}}
{{>section2}}
{{>section3}}
</body>
<template name="section1">
<h1>This is Section 1</h1>
</template>
<template name="section2">
<h1>This is Section 2</h1>
</template>
<template name="section3">
<h1>This is Section 3</h1>
</template>
我现在想使用 NodeJS/AngularJS。有没有一种简单的方法来管理 HTML 模板?
【问题讨论】:
-
我觉得你可以用车把
-
您想使用 NodeJS 作为模板引擎吗? NodeJS 是一个服务器端平台
-
嗨,亚当。由于 Meteor 是一个服务器 + 客户端框架,我询问了一种使用 NodeJS + AngularJS 等另一对实现模板的方法。嗨 Codesingh,我会看看车把。
标签: html angularjs node.js templates meteor