DesignRevision / shards-dashboard-react

⚛️A free and beautiful React admin dashboard template pack.
https://designrevision.com/downloads/shards-dashboard-lite-react/
1.72k stars 502 forks source link

deploy on server blank page no error #38

Open yogithesymbian opened 4 years ago

yogithesymbian commented 4 years ago

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

Nsengiyunva commented 4 years ago

I facing the same issue. after uploading all files from a yarn build , there is a blank page.

yogithesymbian commented 4 years ago

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