shards-dashboard-react
shards-dashboard-react copied to clipboard
deploy on server blank page no error
I didn't find any manuals and errors
I've implemented it on my server with the sudo npm run-script build
I have set my package json
{
"name": "shards-dashboard-lite-react",
"version": "1.0.0",
"private": true,
"homepage": "http://xx.xx.xx.xx/apps/spk/",
"dependencies": {
...................................
..............................
i have try to with
"homepage": "./",
still blank page and no error .
but when I try to implement with netfliy, it's ok (no problem, no error)
i have try with other project react without template (defaut react) build and deploy to my server ,it's ok (no problem, no error)
http://47.254.248.35/apps/spk/ // shard dashboard http://47.254.248.35/apps/books/ // default
thanks in advance
I facing the same issue. after uploading all files from a yarn build
, there is a blank page.
I facing the same issue. after uploading all files from a
yarn build
, there is a blank page.
I have solved by using MemoryRouter instead of BrowserRouter @Nsengiyunva