Pug (Jade) Tutorial # 7 - Conditionals | If/Else Statements
PUG (Jade) 2020. 7. 15. 14:07https://www.youtube.com/watch?v=oWQFsILkVag
https://pugjs.org/language/conditionals.html
Conditionals – Pug
Conditionals Pug’s first-class conditional syntax allows for optional parentheses. If you’re coming from Pug v1, you may now omit the leading -. Otherwise, it’s identical (just regular JavaScript): - var user = {description: 'foo bar baz'} - var auth
pugjs.org
퍼그의 조건부 구문은 선택적 괄호를 허용한다
부정 조건처럼 작동 하지 않는 한 조건부를 제공한다
'PUG (Jade)' 카테고리의 다른 글
Pug (Jade) Tutorial #8 - Case Statement | Switch Statement (0) | 2020.07.16 |
---|---|
Pug (Jade) Tutorial #6 - For/Each Loop - Iterate over Arrays and Objects (1) | 2020.07.15 |
Pug (Jade) Tutorial #5 - Using CSS (Stylesheets) (0) | 2020.07.15 |
Pug (Jade) Tutorial #4 - Attributes (and Advanced Attribute Features) (0) | 2020.07.14 |
Pug (Jade) Tutorial #3 (IDs ans Classes) (0) | 2020.07.14 |