Hello, I’m trying to run a nearly new React project that I created using create-react-app, and then I made a build. The problem I’m having is that initially it doesn’t take files from the static folder. At first, I tried moving the CSS and JS files to the root directory, and it worked. But now I’m working on a larger project and I need folder structure. Can anyone tell me if they have encountered something similar, and if there is a ready solution?
The path to each asset should be specified relative to the index.html file. You can refer to App Resources and package structure of Luna Service sample app. Thank you.
1 Like