You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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 <script src="/scriptName.js"> to <script src="scriptName.js">. And it solved my problem.
Note: as everything was building in "yourport/dist" folder i edited index.html which was located inside dist folder
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.
The text was updated successfully, but these errors were encountered: