unable to run the project in production mode.
I'm having this problem while running in production mode. After running those command vue init pwa my-project cd my-project npm install Then I used npm run build and then locate to http://localhost/my-project/dist .. but nothing is showing. Can anyone help how to run the project in production mode.
Can you view the source? You should see the contents of index.html. What do you see in the web console?
If I am not mistaken, in production mode you can not load from a folder. You do need a webserver such as nginx or some node express to serve your pages. (FireFox is a bit more foregiving with loading for a folder, but still webserver is needed)
I'm having this same issue, even after publishing to an Apache server. Files are loading correctly when viewing the network, but a blank page is just shown. Please help.
After production build, and open up my console and saw scripts are not found. So i edited index.html file. I edited all script src location
Note: as everything was building in "yourport/dist" folder i edited index.html which was located inside dist folder