Skip to content

Commit 652aa7e

Browse files
committed
Update basic.md
1 parent 8813c0c commit 652aa7e

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

ko/basic.md

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ npm install vue vue-server-renderer --save
1010

1111
#### 참고 사항
1212

13-
- Node.js 6 이상을 권장합니다.
13+
- Node.js v6 이상을 권장합니다.
1414
- `vue-server-renderer``vue`는 반드시 서로 맞는 버전을 사용해야합니다.
1515
- `vue-server-renderer`는 일부 Node.js 네이티브 모듈을 사용하므로 Node.js에서만 사용할 수 있습니다. 앞으로 다른 JavaScript 런타임에서 실행할 수 있는 보다 간단한 방법을 제공할 예정입니다.
1616

@@ -59,11 +59,11 @@ server.get('*', (req, res) => {
5959
return
6060
}
6161
res.end(`
62-
63-
62+
63+
6464
<title data-segment-id="430707">Hello</title>
6565
${html}
66-
66+
6767
`)
6868
})
6969
})
@@ -74,15 +74,15 @@ server.listen(8080)
7474

7575
Vue 앱을 렌더링할 때 렌더러는 앱의 마크업만 생성합니다. 이 예제에서 추가 HTML 페이지 쉘로 출력을 레핑해야합니다.
7676

77-
이를 간단히 하기 위해 렌더러를 만들 때 페이지 템플릿을 직접 제공할 수 있습니다. 대부분의 경우 페이지 템플릿을 자체 파일에 저장합니다. (예: `index.template.html`)
77+
이를 간단히 하기 위해 렌더러를 만들 때 페이지 템플릿을 직접 제공할 수 있습니다. 대부분의 경우 페이지 템플릿을 자체 파일에 저장합니다. (예: `index.template.html`)
7878

7979
```html
8080

8181

8282
<title data-segment-id="430708">Hello</title>
83-
83+
8484
<!--vue-ssr-outlet-->
85-
85+
8686

8787
```
8888

@@ -99,21 +99,21 @@ renderer.renderToString(app, (err, html) => {
9999
})
100100
```
101101

102-
### 템플릿 인터폴레이션
102+
### 템플릿 인터폴레이션(Interpolation)
103103

104104
템플릿은 간단한 인터폴레이션(보간)도 지원합니다. 다음 템플릿을 확인하세요.
105105

106106
```html
107107

108-
108+
109109
<!-- use double mustache for HTML-escaped interpolation -->
110110
<title data-segment-id="430709">{{ title }}</title>
111111
<!-- use triple mustache for non-HTML-escaped interpolation -->
112112
{{{ meta }}}
113-
114-
113+
114+
115115
<!--vue-ssr-outlet-->
116-
116+
117117

118118
```
119119

0 commit comments

Comments
 (0)