From ea9b60323a3a8707dc3753b36fb60c9e16b7d492 Mon Sep 17 00:00:00 2001 From: DemaPy Date: Sun, 29 Dec 2024 12:27:40 +0100 Subject: [PATCH] Add consistency and clarity for installation process. --- apps/www/content/docs/installation/vite.mdx | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/apps/www/content/docs/installation/vite.mdx b/apps/www/content/docs/installation/vite.mdx index a286dbf468f..1534a420065 100644 --- a/apps/www/content/docs/installation/vite.mdx +++ b/apps/www/content/docs/installation/vite.mdx @@ -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"