react-app icon indicating copy to clipboard operation
react-app copied to clipboard

Need documentation

Open karanaggarwal1 opened this issue 6 years ago • 3 comments

There should be documentation for explaining the server side code, as well as the folder structure. Even though it is inherited from create-react-app, some kind of documentation should be present. Steps to Reproduce NA I would like to work on this.

karanaggarwal1 avatar Mar 13 '18 13:03 karanaggarwal1

Thanks, a PR would be highly appreciated. You can take a look here as an example project.

koistya avatar Mar 15 '18 19:03 koistya

Okay sure. I would look into it

karanaggarwal1 avatar Mar 15 '18 19:03 karanaggarwal1

Missing const assets = require('./assets.json'); on the app.node.js, this should be also explained on the documentation.

EDITED:

In case anyone else is having this same question this is the content of my file build/assets.json:

{
  "main": [
    "static/js/bundle.js",
    "static/js/bundle.js.map"
  ]
}

and update the require to const assets = require('./assets.json').main;

PabloMarch avatar May 23 '18 13:05 PabloMarch