-
Notifications
You must be signed in to change notification settings - Fork 27
index.html built with npm run build does not show html elements #31
Comments
@lavokad hello! Could you please share the result of running |
@eliperelman that is weird. I finally put the built project in a basic node server and it works perfectly. However, I checked apache logs in the access.log and there is nothing wrong:
|
It looks like you are serving the files from above the build/ directory, but you should be serving the contents of the build directly. For example, the
Since the path of the root directory is different than the path that the app will look for to import more JS files, it may not load correctly. |
oh, I see now. Sorry. Just one more thing, build version has these console outputs: |
ok, thanks! |
Hi, awesome project. Congrats!
After building the example project and placing the folder (index + 2 js files) in webserver (apache) does not open any html element. However console in chrome tools does show the show output as when the project is run in dev mode (npm start). What is I'm missing?
Thanks in advance
The text was updated successfully, but these errors were encountered: