Skip to content

Commit 6292350

Browse files
Added clear instructions for production build
1 parent 8213398 commit 6292350

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ npm run build --report
3737
+ VueJS router has issue with the "history" mode, more details [here](https://router.vuejs.org/en/essentials/history-mode.html)
3838
+ 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.
3939
+ 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
4141

4242
```"build": "node build/build.js"```
4343

0 commit comments

Comments
 (0)