You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: ko/api/pages-fetch.md
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -9,7 +9,7 @@ description: fetch 메소드는 페이지가 랜더링되기 전에 데이터를
9
9
10
10
-**타입:**`Function`
11
11
12
-
`fetch` 메소드가 *만약 세팅되어 있다면*, 컴포넌트가 로딩되기 전에 매번 호출됩니다(**페이지 컴포넌트에 한합니다**). 서버사이드 혹은 사용자가 페이지를 이동하기 전에 불려집니다.
12
+
`fetch` 메소드가 *만약 세팅되어 있다면*, 컴포넌트가 로딩되기 전에 매번 호출됩니다(**페이지 컴포넌트에 한합니다**). 서버사이드 혹은 사용자가 페이지가 이동하기 전에 불려집니다.
13
13
14
14
`fetch` 메소드는 첫번째 인수로 받은 [컨택스트](/api#컨택스트)를 사용하여 데이터를 받고, 그 데이터를 스토어에 넣을 수 있습니다. fetch 메소드를 비동기화 하기 위해서 **Promise를 리턴합니다**. Nuxt.js는 컴포넌트가 랜더링 되기 전에 Promise가 종료되기를 기다립니다.
0 commit comments