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
Copy file name to clipboardExpand all lines: README.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -37,7 +37,7 @@ npm run build --report
37
37
+ VueJS router has issue with the "history" mode, more details [here](https://router.vuejs.org/en/essentials/history-mode.html)
38
38
+ To fix this, the server used is "express" server and used the "connect-history-api-fallback" to fallback, the configuration is on the file "server.js" which is part of the repo.
39
39
+ After the production build ```npm run build```, run the command ```node server.js``` to start the webserver and see if all the routes work perfectly.
40
-
+ When pushing to heroku or cloud foundry, make sure to change the line after the build is completed.
40
+
+ When pushing to Heroku or Cloud foundry, make sure to change the line after the build ```npm run build```is completed in the package.json file
0 commit comments