Just noting this process here, but the full instructions can be found at Getting Started.
To create a React application using Vite, simply run
npm create vite@latest my-app -- --template react-ts
Obviously change my-app to your app. name and in this case I’m using the React Typescript template.
Then cd into the app. folder and run the following
npm install npm run dev