Skip to content

Commit a850023

Browse files
committed
説明を微修正
1 parent eeaf1d7 commit a850023

File tree

1 file changed

+2
-2
lines changed
  • docs/4-advanced/05-integration-and-deployment

1 file changed

+2
-2
lines changed

docs/4-advanced/05-integration-and-deployment/index.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ Viteを用いて構築されたフロントエンドと、Node.jsを用いて構
3636

3737
<video src={setupTypescriptVideo} controls />
3838

39-
1. カレントディレクトリを`backend`ディレクトリに移動し、`npm init`コマンドを実行して`package.json`ファイルを作成します。
39+
1. `backend`ディレクトリに移動し、`npm init`コマンドを実行して`package.json`ファイルを作成します`type`と尋ねられた時には`module`を指定します
4040
1. `npm install -D typescript`コマンドを実行してTypeScriptをインストールし、`npx tsc --init`コマンドを実行してTypeScriptの設定を記述するための`tsconfig.json`ファイルを作成します。
4141
1. ここでは、事前にTypeScriptをJavaScriptにトランスパイルせずにTypeScriptファイルを実行するために、次のコマンドを実行して<Term>[`tsx`パッケージ](https://tsx.is/)</Term>をインストールします。`npx tsx 実行するファイルのパス`とすることで、TypeScriptファイルを実行できます。
4242

@@ -201,7 +201,7 @@ Expressを用いる場合には、[`cors`パッケージ](https://www.npmjs.com/
201201

202202
#### Reactのセットアップをする
203203

204-
カレントディレクトリをプロジェクトを格納するディレクトリに移動してから`npm create vite@latest`コマンドを実行して`frontend`という名前でReactのプロジェクトを作成します。カレントディレクトリを`frontend`ディレクトリに移動してから、`npm install`コマンドを実行して必要なパッケージをインストールします。
204+
プロジェクトを格納するディレクトリに移動してから`npm create vite@latest`コマンドを実行して`frontend`という名前でReactのプロジェクトを作成します。`frontend`ディレクトリに移動してから、`npm install`コマンドを実行して必要なパッケージをインストールします。
205205

206206
#### バックエンドのURLを環境変数で指定する
207207

0 commit comments

Comments
 (0)