The tutorial assumes that you have already created a React project with Vite in JavaScript. To use TypeScript in React (with Vite) install TypeScript and its dependencies into your application using the command line. You may encounter compile errors in the browser and editor/IDE when opening the renamed TypeScript files.
Sort: