Open repository on Github.
1.Make a project.
npx create-react-app example2
cd example2
2.Add homepage to package.json to main key value.
"homepage": "(I couldn't add check video)“,
3.Add script to package.json to scripts.
"predeploy": "npm run build",
"deploy": "gh-pages -d build",
4.Initialize git to your project folder.
git init
git remote add origin (I couldn't add check video).
npm run deploy
On this page of the site you can watch the video online Publishing React Code on Github Pages with a duration of hours minute second in good quality, which was uploaded by the user Mustafa 30 March 2024, share the link with friends and acquaintances, this video has already been watched 29 times on youtube and it was liked by 0 viewers. Enjoy your viewing!