+ 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...
8 odpowiedzi
+ 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!?
+ 1
Skrub Discuss only what you know
+ 1
Amir Zare YouTube or read the documentation
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?
0
If you mean no internet, that means you can still use something called a "local" server for this project.
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".
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
0
How to study react?