Skip to content

Commit

Permalink
Add consistency and clarity for installation process.
Browse files Browse the repository at this point in the history
  • Loading branch information
DemaPy committed Dec 29, 2024
1 parent 1081536 commit ea9b603
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions apps/www/content/docs/installation/vite.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -93,14 +93,16 @@ Add the following code to the `tsconfig.app.json` file to resolve paths, for you
}
```

### Update vite.config.ts

Add the following code to the vite.config.ts so your app can resolve paths without error:
### Install types

```bash
npm install -D @types/node
```

### Update vite.config.ts

Add the following code to the ```vite.config.ts``` so your app can resolve paths without error:

```typescript
import path from "path"
import react from "@vitejs/plugin-react"
Expand Down

0 comments on commit ea9b603

Please sign in to comment.