Update Japanese translation for getting-started/hello-world.ja.md

- Update Swift version requirement notice to match English version
- Fix async/await note formatting and add macOS 12 reference
- Add VSCode extension recommendation
- Update internal links to use relative paths without .ja.md extension
This commit is contained in:
Lemo-nade-room 2025-06-18 22:13:24 +09:00
parent 6d68ce0fb8
commit dff6155e7d
1 changed files with 7 additions and 2 deletions

View File

@ -7,6 +7,9 @@
- [Install → macOS](../install/macos.ja.md)
- [Install → Linux](../install/linux.ja.md)
!!! tip
Vapor ツールボックスで使用されるテンプレートには Swift 6.0 以降が必要です
## 新規プロジェクト
最初のステップは、コンピュータに新しい Vapor プロジェクトを作成することです。ターミナルを開き、ツールボックスの新規プロジェクトコマンドを使用してください。これにより、現在のディレクトリにプロジェクトを含む新しいフォルダが作成されます。
@ -22,8 +25,7 @@ vapor new hello -n
Vapor ツールボックスを使用せずに GitHub [テンプレートリポジトリ](https://github.com/vapor/template-bare)をクローンして最新のテンプレートを取得することもできます。
!!! tip
Vapor and the template now uses `async`/`await` by default.
Vapor テンプレートは、デフォルトで `async`/`await` を使用します。
Vapor とテンプレートは、デフォルトで `async`/`await` を使用します。
macOS 12 にアップデートできない、または `EventLoopFuture` を継続して使用する必要がある場合は、
`--branch macos10-15` フラグを使います。
@ -58,6 +60,9 @@ Xcode のウィンドウの下部に、コンソールが表示されるはず
Linux やその他 OS (または Xcode を使用したくない場合の macOS も含む)では、 Vim や VScode のようなお好きなエディタでプロジェクトを編集できます。他の IDE の設定に関する最新の詳細は、[Swift Server ガイド](https://github.com/swift-server/guides/blob/main/docs/setup-and-ide-alternatives.md)を参照してください。
!!! tip
VSCode をコードエディタとして使用している場合は、公式の Vapor 拡張機能をインストールすることをお勧めします: [Vapor for VS Code](https://marketplace.visualstudio.com/items?itemName=Vapor.vapor-vscode)
プロジェクトをビルドして実行するには、ターミナルで以下のコマンドを実行します:
```sh