vite/create

Create Vite Project

Create a new Vite project

vite
create
project

Command

npm create vite@latest my-app

Explanation

Creates a new Vite project with the specified template. Vite provides fast development server and optimized builds.

Examples

Create React app with Vite

npm create vite@latest my-react-app -- --template react

Create Vue app with Vite

npm create vite@latest my-vue-app -- --template vue

Create Svelte app with Vite

npm create vite@latest my-svelte-app -- --template svelte