+ 1
i am having some problems with this react app can you please help me guys ?
https://abhi07070.github.io/TextUtiles-React/ when i open it it doesn't show me the home page but when i click on home or about it then shows all the content. what this issue is ??? can anyone help me to address it ??
5 odpowiedzi
+ 1
The problem is that you have no route at "/TextUtiles-React". It's showing the App because you have your index file there. It's showing the components when you navigate to "/" and the route matches.
The problem is the router of the server.
See if this helps. https://www.geeksforgeeks.org/how-to-deploy-your-react-websites-on-github/
0
Your router seems to be weird. Does it work when you run it locally? It's starting at "/TextUtiles-React/" then navigating to "/" (root) when home is pressed. And you can't navigate directly to the routes.
Did you check if you can host react app in GitHub? Or how to configure the router.
0
i deployed it on git where i had given TextUtiles-React as a repository name. when i click on home it navigates to "/" but when it open suddenly it shows after port that you are currently at on localhost:3000/TextUtiles-React. so tell me how can i fix ?? i have checked my router for many times but there is no error i see you can also check if you want let me give a link of my project.
https://github.com/abhi07070/TextUtiles-React
go to src then components then you can see my all components which i have made for project.
0
i have already deployed my web application. anyway i try to find out it closely. Thanks you
0
Your home page is https://abhi07070.github.io/
not https://abhi07070.github.io/TextUtiles-React/