mirror of
https://github.com/shadcn-ui/ui.git
synced 2026-06-23 12:45:47 +00:00
docs(www): update Vite instructions (#4260)
This commit is contained in:
@@ -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
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user