Skip to content

Commit 1dcfc98

Browse files
authored
Update index.md
1 parent 440c9a6 commit 1dcfc98

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/v2/style-guide/index.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -248,7 +248,7 @@ props: {
248248
</summary>
249249
{% endraw %}
250250

251-
Let's say you have a list of todos:
251+
할일 목록이 있다고 가정 해보자:
252252

253253
``` js
254254
data: function () {
@@ -306,13 +306,13 @@ In our experience, it's better to _always_ add a unique key, so that you and you
306306

307307
### `v-if``v-for`를 동시에 사용하지 마세요 <sup data-p="a">essential</sup>
308308

309-
**Never use `v-if` on the same element as `v-for`.**
309+
**`v-for` 와 같은 요소(element)에 `v-if` 를 사용하지 말아라.**
310310

311-
There are two common cases where this can be tempting:
311+
이것은 보통 생각나게 할 수 있는 두 가지 케이스가 있다:
312312

313-
- To filter items in a list (e.g. `v-for="user in users" v-if="user.isActive"`). In these cases, replace `users` with a new computed property that returns your filtered list (e.g. `activeUsers`).
313+
- 목록 안의 아이템을 필터링 하라 (e.g. `v-for="user in users" v-if="user.isActive"`). 이 경우에, `users`를 필터링 된 목록을 반환하는 새로운 computed 속성으로 변경하라 (e.g. `activeUsers`).
314314

315-
- To avoid rendering a list if it should be hidden (e.g. `v-for="user in users" v-if="shouldShowUsers"`). In these cases, move the `v-if` to a container element (e.g. `ul`, `ol`).
315+
- 리스트를 숨길 필요가 있을 경우 렌더링을 피하라 (e.g. `v-for="user in users" v-if="shouldShowUsers"`). 이 경우에, 컨테이너의 요소로 `v-if` 를 옮겨라 (e.g. `ul`, `ol`).
316316

317317
{% raw %}
318318
<details>

0 commit comments

Comments
 (0)