2
Dust.js 템플릿에 조건이 없는지 어떻게 확인합니까?Dust.js 템플릿에 조건이 없음을 확인하는 방법
{^tags}
<p>Sorry, There are no tags!</p>
{/tags}
:
{?tags}
{:else}
<p>Sorry, There are no tags!</p>
{/tags}
Dust.js 템플릿에 조건이 없는지 어떻게 확인합니까?Dust.js 템플릿에 조건이 없음을 확인하는 방법
{^tags}
<p>Sorry, There are no tags!</p>
{/tags}
:
{?tags}
{:else}
<p>Sorry, There are no tags!</p>
{/tags}
이를
은 (종종 "없습니다"태그라고도 함)^
태그를 사용하여, 먼지에 내장되어