There's no reason you should have to use ports 8080 and 8070 specifically, and in production we definitely won't use those values, so they shouldn't be hardcoded into our config.
This is a companion discussion topic for the original entry at https://vuejsdevelopers.com/lessons/environment-variables/2/