+ 2

How to run react js offline in the web browser

Am unavailable to run react js on my web browser after using npm start, it gives me an error even when my data is on...

14th Apr 2021, 9:53 PM
chinaza
chinaza - avatar
8 Answers
+ 1
Download the react files instead of copying their link from fb's GitHub... Include the downloaded files in your project and the project should run without the Internet And can you please specify the error!?
16th Apr 2021, 2:31 PM
Muhammad Faseeh
+ 1
Skrub Discuss only what you know
16th Apr 2021, 9:38 PM
Karim
+ 1
Amir Zare YouTube or read the documentation
30th Jan 2022, 3:11 AM
Muhammad Faseeh
0
Is this for a new project? If so, I can recommend using the create-react-app tool: https://github.com/facebook/create-react-app If you're trying to run an already existing project you'll want to do npm install before npm start. Make sure you're not running another instance somewhere else. Restart your computer and try again if you're not sure. What's the error message?
14th Apr 2021, 10:03 PM
CamelBeatsSnake
CamelBeatsSnake - avatar
0
If you mean no internet, that means you can still use something called a "local" server for this project.
15th Apr 2021, 2:56 AM
Phil Andy Graves
Phil Andy Graves - avatar
0
First of all , To run react js app in web browser, there is no need of internet. Open command prompt, Then go to folder where reactJs app is created in command prompt, Then go to in reactJs app in command prompt, Then run react app using this "npm start".
16th Apr 2021, 12:01 PM
Parth Vasani
0
Here some example without transpile. https://code.sololearn.com/Wa23a2A14a8A/?ref=app Mainly... include babel library and other dependencies as script. To fully offline you need download each from any CDN first
16th Apr 2021, 5:32 PM
David OrdĂĄs
David OrdĂĄs - avatar
0
How to study react?
29th Jan 2022, 9:54 PM
Amir Zare