Initialize a new React project with Vite and run the dev server Run the following commands:
npm create vite@latest react-project -- --template react
cd react-project
npm install react-router-dom
npm install
npm run devThis sets up a minimal React project structure and installs all dependencies.
The application will be available on http://localhost:5173