Install React JS on CentOS 8 | How to install and run React JS App On CentOS 8
Install React JS | How to install and run React JS App On CentOS 8
Follow the steps:
Step 1 – Add Node.js Yum Repository
—————————–
dnf install -y gcc-c++ make
curl -sL https://rpm.nodesource.com/setup_14.x | sudo -E bash –
Step 2 – Install Node.js
sudo dnf install nodejs
Step 3 : Install React js package
npm install -g create-react-app
Step 4 : Install React App
create-react-app myreactjsapp
Step 5 : Navigate the project folder
cd Project folder name
Step 6 : Run React js APP
npm start
centos 8