docs(www): update Vite instructions (#4260)

This commit is contained in:
Ethan Brown
2024-07-15 01:33:40 -07:00
committed by GitHub
parent 650b3b9bda
commit dd9900ba0e

View File

@@ -25,7 +25,9 @@ npx tailwindcss init -p
### Edit tsconfig.json file
Add the following code to the `tsconfig.json` file to resolve paths:
The current version of Vite splits TypeScript configuration into three files, two of which need to be edited.
Add the `baseUrl` and `paths` properties to the `compilerOptions` section of the `tsconfig.json` and
`tsconfig.app.json` files:
```ts {11-16} showLineNumbers
{