Skip to content

i18n(ko-KR): update node.mdx #11556

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Apr 29, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 7 additions & 6 deletions src/content/docs/ko/guides/integrations-guide/node.mdx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
type: integration
title: '@astrojs/node'
description: '@astrojs/node SSR 어댑터를 사용하여 Astro 프로젝트를 배포하는 방법을 알아보세요.'
description: '@astrojs/node 어댑터를 사용하여 Astro 프로젝트를 배포하는 방법을 알아보세요.'
sidebar:
label: Node
githubIntegrationURL: 'https://github.com/withastro/astro/tree/main/packages/integrations/node/'
Expand All @@ -11,7 +11,7 @@ i18nReady: true

import PackageManagerTabs from '~/components/tabs/PackageManagerTabs.astro'

이 어댑터를 사용하면 Astro가 [요청 시 렌더링되는 라우트](/ko/guides/on-demand-rendering/) Node 대상에 배포할 수 있습니다.
이 어댑터를 사용하면 Astro가 [서버 아일랜드](/ko/guides/server-islands/), [액션](/ko/guides/actions/), [세션](/ko/guides/sessions/)을 포함하여 [요청 시 렌더링되는 라우트 및 기능](/ko/guides/on-demand-rendering/) Node 대상에 배포할 수 있습니다.

Astro를 정적 사이트 빌더로 사용하는 경우에는 어댑터가 필요하지 않습니다.

Expand All @@ -23,7 +23,7 @@ Astro를 정적 사이트 빌더로 사용하는 경우에는 어댑터가 필

Astro에는 공식 통합 설정을 자동화하는 `astro add` 명령이 포함되어 있습니다. 원하는 경우 대신 [통합을 수동으로 설치](#수동-설치)할 수 있습니다.

`astro add` 명령을 사용하여 Astro 프로젝트에서 SSR을 활성화하려면 Node 어댑터를 추가하세요.
`astro add` 명령을 사용하여 Astro 프로젝트에서 요청 시 렌더링을 활성화하려면 Node 어댑터를 추가하세요.
그러면 `@astrojs/node`가 설치되고 `astro.config.*` 파일이 한 번에 적절하게 변경됩니다.

<PackageManagerTabs>
Expand All @@ -44,6 +44,8 @@ Astro에는 공식 통합 설정을 자동화하는 `astro add` 명령이 포함
</Fragment>
</PackageManagerTabs>

이제 [페이지별로 요청 시 렌더링](/ko/guides/on-demand-rendering/#요청-시-렌더링-활성화)을 활성화하거나, [기본적으로 모든 페이지를 서버 렌더링](/ko/guides/on-demand-rendering/#server-모드)하도록 빌드 출력 구성을 `output: 'server'`로 설정할 수 있습니다.

### 수동 설치

먼저, 선호하는 패키지 관리자를 사용하여 프로젝트의 종속성에 Node 어댑터를 추가하세요.
Expand All @@ -66,14 +68,13 @@ Astro에는 공식 통합 설정을 자동화하는 `astro add` 명령이 포함
</Fragment>
</PackageManagerTabs>

그런 다음 어댑터와 원하는 [요청 시 렌더링 모드](/ko/guides/on-demand-rendering/)를 `astro.config.*` 파일에 추가하세요.
그런 다음 `astro.config.*` 파일에 어댑터를 추가합니다.

```js title="astro.config.mjs" ins={2,5-8}
```js title="astro.config.mjs" ins={2,5-7}
import { defineConfig } from 'astro/config';
import node from '@astrojs/node';

export default defineConfig({
output: 'server',
adapter: node({
mode: 'standalone',
}),
Expand Down