Nicholas M. Salvatore

Back arrow

Initialize React project with Vite

Run the following command from your project directory.

$ npm create vite@latest

You'll be asked for a project name. Enter . to create the application in the current directory. Select React as the framework and then choose Javascript or Typescript, depending on your preference.