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.
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