Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在使用 assemble 和 grunt 来构建车把模板,但是我有一些我不想编译的区域,以便之后可以在浏览器中呈现它们。
是否有任何特殊的标签/助手可以做到这一点?
您可以逃脱车把,以便在组装构建期间将它们排除在外,然后在前端使用它们......
{{! rendered by assemble }} <h1>{{foo}}</h1> \{{! rendered on the browser }} <h2>\{{bar}}</h2>