You are viewing a single comment's thread from:

RE: React deployment

in #dsource7 years ago

You're going to want to include a static.json file when deploying to Heroku:

{
  "root": "build/",
  "clean_urls": false,
  "routes": {
    "/**": "index.html"
  }
}

Other than that Heroku should just auto-detect that it is a static app.

Sort:  

Here's an example repo of one that is deployed to Heroku: https://github.com/marianserna/wanderers-frontend

Coin Marketplace

STEEM 0.15
TRX 0.24
JST 0.033
BTC 92027.17
ETH 2497.57
USDT 1.00
SBD 0.68