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-app
andreact-router-dom@6
and when i build production it works fine when i run it usingserve -s build
and when i upload it on to my server i see only blank page.And this happens only when i use
BrowserRouter
,HashRouter
andMemoryRouter
work just fine.Please guide me how to build production app using
BrowserRouter
keeping 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.json
You can see the hosted app Here
Beta Was this translation helpful? Give feedback.
All reactions