Hello
Today I explained how to install reactjs into ubuntu.
Open terminal and type these commands step by step.
Hello
Today I explained how to install reactjs into ubuntu.
Open terminal and type these commands step by step.
- sudo apt install npm
- npm --version
- node --version
- sudo npm -g install create-react-app
- create-react-app --version
create-react-app it will create global installation package. Now you can use it to your application name.
Now go to your html folder and open terminal like this. And write this command:
6.create-react-app react2
Where "react2" is your application folder name.
7. Now run this command : cd react2
It will go to directory "react2".
8. Now run this command : npm start
It will create this output
Now react js is started. Now you can edit files and work ahead.
Thank you.
No comments:
Post a Comment