File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
docs/4-advanced/05-integration-and-deployment Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff 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 ` を指定します 。
40401 . ` npm install -D typescript ` コマンドを実行してTypeScriptをインストールし、` npx tsc --init ` コマンドを実行してTypeScriptの設定を記述するための` tsconfig.json ` ファイルを作成します。
41411 . ここでは、事前に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
You can’t perform that action at this time.
0 commit comments