React App
This is avialable on version Alpha 1.1
Last updated
This is avialable on version Alpha 1.1
Last updated
First you need to Install Termux.
Open termux and run pkg update
and pkg upgrade.
Type pkg install nodejs
and hit enter>
After installing go to your SCode Studio and Create new project.
After Creating a new, Empty project or React project click the terminal icon on the right comer of the tab.
It will redirect you to Termux.
Before you proceed ensure you do termux-setup-storage
else it won't work.
Here's how
1. type termux-setup-storage
and hit enter.
2. a dialog will pop up and click allow storage permission.
6. Type cd
and hold the text on the termux and click paste.
It will look like something like this and hit enter.
7. type npm i -g create-react-app
and hit enter.
You will only need to run npm I -g create-react-app
once. When it is successful, you will no longer require it in your future react project because it has already been installed.
8. after installation is done type npx create-react-app your-app-name
and hit enter.
9. when it's done type cd your-app-name
and hit enter.
10. type rm -rf node_modules
and hit enter.
11 type npm install
and hit enter.
11. type npm run start
to see your react-app running on your web browser.
12. after the loading open the SCode Studio start editing your codes. Have fun.
For more information about react just visit this.