Skip to content

Commit

Permalink
docs: update root documentation to include vite config file location (#…
Browse files Browse the repository at this point in the history
…13345)

Co-authored-by: patak <[email protected]>
  • Loading branch information
Ph0tonic and patak-dev committed May 27, 2023
1 parent a460a2b commit d9702c4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions docs/guide/index.md
Expand Up @@ -110,6 +110,7 @@ Vite also supports [multi-page apps](./build#multi-page-app) with multiple `.htm
#### Specifying Alternative Root

Running `vite` starts the dev server using the current working directory as root. You can specify an alternative root with `vite serve some/sub/dir`.
Note that Vite will also resolve [its config file (i.e. `vite.config.js`)](/config/#configuring-vite) inside the project root, so you'll need to move it if the root is changed.

## Command Line Interface

Expand Down

0 comments on commit d9702c4

Please sign in to comment.