Skip to content

Commit

Permalink
i18n(ko-KR): update directives-reference.mdx (#9547)
Browse files Browse the repository at this point in the history
* i18n(ko-KR): update `directives-reference.mdx`

* i18n(ko-KR): update `directives-reference.mdx`

---------

Co-authored-by: Yan <[email protected]>
  • Loading branch information
jsparkdev and yanthomasdev authored Oct 3, 2024
1 parent 7a9eeca commit 583c772
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions src/content/docs/ko/reference/directives-reference.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -201,6 +201,16 @@ import api from '../db/api.js';
<SomeLitComponent client:only="lit" />
```

#### 로딩 콘텐츠 표시

클라이언트에서만 렌더링되는 컴포넌트의 경우 로딩하는 동안 대체 콘텐츠를 표시할 수도 있습니다. 클라이언트 컴포넌트를 사용할 수 있을 때까지만 표시되는 콘텐츠를 만들려면 모든 하위 요소에 `slot="fallback"`을 사용합니다:

```astro {2}
<ClientComponent client:only="vue">
<div slot="fallback">Loading</div>
</ClientComponent>
```

### 사용자 정의 클라이언트 지시어

Astro 2.6.0부터 통합에서는 컴포넌트를 수화해야 하는 방법과 시기를 변경하기 위해 사용자 정의 `client:*` 지시어를 추가할 수도 있습니다.
Expand Down

0 comments on commit 583c772

Please sign in to comment.