Skip to content

Commit be2062c

Browse files
authored
docs(cli): document vite preview with more information (#2180)
1 parent 29e77a6 commit be2062c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

guide/cli.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,8 @@ vite optimize [root]
104104

105105
プロダクションビルドをローカルでプレビューします。プロダクション用として設計されていないため、プロダクション用サーバーとして使用しないでください。
106106

107+
このコマンドは、ビルドディレクトリー(デフォルトは `dist`)でサーバーを起動します。ビルドディレクトリーが最新であることを確認するために、事前に `vite build` を実行してください。プロジェクトで設定された [`appType`](/config/shared-options.html#apptype) に応じて、特定のミドルウェアを使用します。
108+
107109
#### 使い方
108110

109111
```bash

0 commit comments

Comments
 (0)