How to create Vue 2 or Vue 3 project using Vite

How to create Vue 2 or Vue 3 project using Vite

create-vue is the recommended CLI to create a Vue project with Vite.

https://github.com/vuejs/create-vue

Below are the commands that ultilize create-vue to start your Vue project.

Vue 3

npm init vue@3

Vue 2

npm init vue@2