xxxxxxxxxx
npx create-react-app <appname> // eg: npx create-react-app blog
cd <appname> // cd blog
npm start //runs on localhost:3000
xxxxxxxxxx
npm install -g create-react-app -> install create react app tools
create-react-app app01 -> create your first projects app001
xxxxxxxxxx
npx create-react-app <appname> ## eg: npx create-react-app blog
cd <appname> ## cd blog
npm start ## runs on localhost:3000
xxxxxxxxxx
C:\Users\Tutorialspoint\Desktop\reactApp>npm install react --save
C:\Users\Tutorialspoint\Desktop\reactApp>npm install react-dom --save
xxxxxxxxxx
C:\Users\username\Desktop\reactApp>npm install webpack webpack-dev-server webpack-cli --save
xxxxxxxxxx
C:\Users\username\Desktop\reactApp>npm install babel-core babel-loader babel-preset-env
babel-preset-react html-webpack-plugin --save-dev