"Vite React Tutorial: Launch Your First React App in 5 Simple Steps"

Pushpesh PandeyPushpesh Pandey
1 min read

Table of contents

  1. step1 : install vite react app using codes in vite site → “npm create vite@latest”

  2. step2 : clean the folders only keep the required files;

    important folders in SRC :

    App.jsx

    index.js

    Your.jsx → this is your own made jsx file for exporting components

  3. step3 : you can even run your app using

    “npm run dev “

    dev ; because in the package . json file there is “dev“ in script for running ;

    it can differ in “CREATE REACT APP“ and other than vite-App

  4. !! precautions !!

    for Component export

    i. use “ .jsx “ instead of “.jx”

    ii. use <Filename> instead <filename>

  5. your 1st react app is ready :)

0
Subscribe to my newsletter

Read articles from Pushpesh Pandey directly inside your inbox. Subscribe to the newsletter, and don't miss out.

Written by

Pushpesh Pandey
Pushpesh Pandey