Blank page in production #8879
Unanswered
usmansagri
asked this question in
Q&A
Replies: 3 comments
-
|
Can you tell me if you fixed this bug ? And if you did can you please tell me how ? |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
Got same issue, any ideal to fix this |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
Same |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I have built a simple react app using
create-react-appandreact-router-dom@6and when i build production it works fine when i run it usingserve -s buildand when i upload it on to my server i see only blank page.And this happens only when i use
BrowserRouter,HashRouterandMemoryRouterwork just fine.Please guide me how to build production app using
BrowserRouterkeeping in mind i will deploying it on linux server(hostinger.in) and in a subdirectorydomain.com/react-app(!if .htaccess is required)Few things i tried
package.jsonYou can see the hosted app Here
Beta Was this translation helpful? Give feedback.
All reactions