Skip to content

Commit 15358af

Browse files
committed
docs: translate ssr guide > server configuration
1 parent 60dda5c commit 15358af

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

src/guide/ssr/server.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
# Server Configuration
1+
# サーバ設定
22

3-
The [code structure](./structure.html) and [webpack configuration](./build-config.html) we've described also require some changes to our Express server code.
3+
[コードの構造](./structure.html) [webpack の設定](./build-config.html) でも説明したとおり、 Express サーバのコードにもいくつかの変更を必要とします。
44

5-
- we need to create an application with a built `app.js` from the resulting bundle. A path to it can be found using the webpack manifest:
5+
- バンドル結果のビルドした `app.js` を使ってアプリケーションを作成する必要があります。ファイルパスは、webpack マニフェストを使って見つけられます:
66

77
```js
88
// server.js
@@ -13,7 +13,7 @@ The [code structure](./structure.html) and [webpack configuration](./build-confi
1313
const createApp = require(appPath).default
1414
```
1515

16-
- we have to define correct paths to all the assets:
16+
- すべてのアセットへ正しいパスを定義しなければなりません:
1717

1818
```js
1919
// server.js
@@ -32,7 +32,7 @@ The [code structure](./structure.html) and [webpack configuration](./build-confi
3232
)
3333
```
3434

35-
- we need to replace the `index.html` content with our server-side rendered application content:
35+
- `index.html` のコンテンツをサーバサイドでレンダリングしたアプリケーションのコンテンツに置き換える必要があります:
3636

3737
```js
3838
// server.js
@@ -55,7 +55,7 @@ The [code structure](./structure.html) and [webpack configuration](./build-confi
5555
})
5656
```
5757

58-
Below you can find a full code for our Express server:
58+
以下は Express サーバのすべてのコードです:
5959

6060
```js
6161
const path = require('path')

0 commit comments

Comments
 (0)