Skip to content

Commit 5d902a8

Browse files
committed
예제 번역: /examples/conditionals-and-loops
1 parent 1cb2561 commit 5d902a8

File tree

3 files changed

+8
-8
lines changed

3 files changed

+8
-8
lines changed

ko-KR/.vitepress/config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -436,7 +436,7 @@ export const sidebar = {
436436
link: '/examples/#attribute-bindings'
437437
},
438438
{
439-
text: '조건 및 반복',
439+
text: '조건문과 반복문',
440440
link: '/examples/#conditionals-and-loops'
441441
},
442442
{
Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
<button @click="show = !show">Toggle List</button>
2-
<button @click="list.push(list.length + 1)">Push Number</button>
3-
<button @click="list.pop()">Pop Number</button>
4-
<button @click="list.reverse()">Reverse List</button>
1+
<button @click="show = !show">목록 전환</button>
2+
<button @click="list.push(list.length + 1)">숫자 추가</button>
3+
<button @click="list.pop()">숫자 제거</button>
4+
<button @click="list.reverse()">목록 뒤집기</button>
55

66
<ul v-if="show && list.length">
77
<li v-for="item of list">{{ item }}</li>
88
</ul>
9-
<p v-else-if="list.length">List is not empty, but hidden.</p>
10-
<p v-else>List is empty.</p>
9+
<p v-else-if="list.length">목록이 비어있지 않지만, 숨김처리 되었습니다.</p>
10+
<p v-else>목록이 비었습니다.</p>
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
We can render content conditionally or in a loop with the v-if and v-for directives.
1+
v-if 및 v-for 디렉티브를 사용하여 콘텐츠를 조건부로 또는 반복적으로 렌더링할 수 있습니다.

0 commit comments

Comments
 (0)