Skip to content

Commit

Permalink
doc: 環境変数の説明を改善'
Browse files Browse the repository at this point in the history
  • Loading branch information
uidev1116 committed Jun 5, 2024
1 parent 8bd6210 commit 9b45746
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -85,9 +85,14 @@ VITE_MANIFEST_PATH=dist/.vite/manifest.json
VITE_DEV_SERVER_URL=http://localhost:5173
```

`VITE_ENVIRONMENT` には `development` または `production` を指定します。この値が `development` の場合、Vite の開発サーバーを利用します。`production` の場合はビルドされたアセットを利用します。
`VITE_MANIFEST_PATH` にはビルドされたアセットのパスを利用しているテーマディレクトリから指定します。
`VITE_DEV_SERVER_URL` には Vite の開発サーバーの URL を指定します。
以下、環境変数の説明です。

| 変数名 | 説明 |
|---------------------|----------------------------------------------------------------------|
| `VITE_ENVIRONMENT` | `development` または `production` を指定します。`development` の場合、Vite の開発サーバーを利用し、`production` の場合はビルドされたアセットを利用します。 |
| `VITE_MANIFEST_PATH`| ビルドされたアセットのパスを利用しているテーマディレクトリから指定します。 |
| `VITE_DEV_SERVER_URL`| Vite の開発サーバーの URL を指定します。 |


## 設定

Expand Down

0 comments on commit 9b45746

Please sign in to comment.