This answer states that npm run build
creates a dist
folder (it does in my case) as well as an index.html
file - it doesn't in my case.
Instead I have an index.html
file inside my dist
folder, and I upload this folder to my remote server, visiting that index.html
in my browser displays a blank page with "Hello world" on top (no CSS, no JS).
I couldn't find anything addressing this issue in the docs.
Am I missing something? Why is my app reduced to a mere "Hello world" page once deployed?