Skip to content

Commit b65bc61

Browse files
netchampfarisantfu
andauthored
chore: fix docs link to Project Root section (#2406)
Co-authored-by: Anthony Fu <[email protected]>
1 parent 3220e57 commit b65bc61

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docs/config/index.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
### Config File Resolving
66

7-
When running `vite` from the command line, Vite will automatically try to resolve a config file named `vite.config.js` inside [project root](/guide/#project-root).
7+
When running `vite` from the command line, Vite will automatically try to resolve a config file named `vite.config.js` inside [project root](/guide/#index-html-and-project-root).
88

99
The most basic config file looks like this:
1010

@@ -77,7 +77,7 @@ export default ({ command, mode }) => {
7777

7878
Project root directory (where `index.html` is located). Can be an absolute path, or a path relative from the location of the config file itself.
7979

80-
See [Project Root](/guide/#project-root) for more details.
80+
See [Project Root](/guide/#index-html-and-project-root) for more details.
8181

8282
### base
8383

@@ -439,7 +439,7 @@ export default ({ command, mode }) => {
439439
- **Type:** `string`
440440
- **Default:** `dist`
441441

442-
Specify the output directory (relative to [project root](/guide/#project-root)).
442+
Specify the output directory (relative to [project root](/guide/#index-html-and-project-root)).
443443

444444
### build.assetsDir
445445

0 commit comments

Comments
 (0)