Vite (French word for "fast") is a build tool that aims to provide a faster and leaner development experience for modern web projects.
Today most people use CRA
for starting a react project. Its very time consuming because it install many unused packages to the project.
Here, we use Vite for creating a react project. its less time consuming, because it only install necessary packages for the project.
When comparing to CRA, vite only take less time to start the server and updation.
So, here we start...
Install react app using vite
npm init @vitejs/app my-react-app
Choose the variant Here vite asked for the app and varient. These are the technologies installed using vite js
my-react-appand create the template files.
change the directory
npm installornpm i
Run development server
npm run dev
Now we completed the installation.
Now you can open a editor and start the work.