Hello guys welcome back on my blog. Today in this post I am going to tell you Solved – Reactjs Blank Screen after Build Upload on Server.
![Solved - Reactjs Blank Screen after Build Upload on Server](https://therichpost.com/wp-content/uploads/2022/07/Solved-Reactjs-Blank-Screen-after-Build-Upload-on-Server-1024x576.png)
Guys to solved reactjs blank screen issue after build just follow the below two things:
1. Add below code into your project package.json file:
"homepage": "https://yourhomepageurl",
2. After importing react-router-dom add below attribute ( HashRouter ) as well:
... import { HashRouter as BrowserRouter, Routes, Route, } from "react-router-dom"; ....
For reactjs new comers, please check the below link:
I will appreciate that if you will tell your views for this post. Nothing matters if your views will be good or bad.
Jassa
Thanks
Tags:Reactjs
Recent Comments