Typical way of creating a react application will be
`npx create-react-app myapp`
Right ? But you know what with this simple command. You almost install more than thousand node modules.
Gladly this is not the only way to create a react app.
Alternately you can create it by installing only required module one by one but that is time consuming and tedious process for starters and some may recommend that way but there is a life saver @vite_js
Vite is a batteries included bundler & development server with presets for multiple frameworks, including React with or without TypeScript. which is developed by @youyuxi who also the founder of @vuejs
Here's the simple command to get started.
`npm create vite@latest firstApp`
following this command it will prompt a series of options where you can choose from various variant and choose JS/TS.
That's it you are ready to go. Your react app will be ready in the specific folder after following those steps.
By running `npm run dev` your app will be live on localhost
If you read this so far, Hey👋
I am a Youtuber, Content Creator and Developer 🇮🇳,
Sharing my Productivity, Tech and Coding tips & tricks to enhance your skills.
👉🏻 Please follow @AmSorry_offl
👉🏻 Retweet the first tweet of this thread
• • •
Missing some Tweet in this thread? You can try to
force a refresh