Skip to content

Commit

Permalink
chore: fix docs link to Project Root section (#2406)
Browse files Browse the repository at this point in the history
Co-authored-by: Anthony Fu <anthonyfu117@hotmail.com>
  • Loading branch information
netchampfaris and antfu committed Mar 15, 2021
1 parent 3220e57 commit b65bc61
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/config/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

### Config File Resolving

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).
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).

The most basic config file looks like this:

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

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.

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

### base

Expand Down Expand Up @@ -439,7 +439,7 @@ export default ({ command, mode }) => {
- **Type:** `string`
- **Default:** `dist`

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

### build.assetsDir

Expand Down

0 comments on commit b65bc61

Please sign in to comment.