Disclaimer : writing this series of article to help someone in need, if you are intermediate to advance,there is no need to read the series, but you can review and send the suggestions, I am doing what i like.
There are multiple ways to create a React application:
- Using Create React App – which I would say is outdated
- Using Vite(Faster)
- Setting it up manually (preferred)
Using Create React App – which I would say is outdated
`# Install globally (optional)
npm install -g create-react-app
Create project
npx create-react-app yourapplicationame
Go inside folder
cd my-app
Run development server
npm start
To build the app
npm run build `
Using Vite(Faster)
`# Create project
npm create vite@latest my-app
Select options
Go inside folder
cd my-app
Install dependencies
npm install
Run dev server
npm run dev`
Top comments (0)