Handle multiple Environments

What I need is some quasar test command. I think test would be closer to production then to dev.
Something like quasar test would build with a QA url as some variable.
Eventually will need this with cordova. quasar build android --QA

Really what is needed is a way to tell the vue code which server to point to.
Local host would be local host (or an ip address)
Dev would point to dev.server.com
Test would point to qa.server.com
prod would point to www.server.com

I know webpack can do this, Quasar seems to have its own configuration.

Another question is how to include this in some “services” javascript file. Vue doesn’t have services, sounds like just creating a JS file with some axios commands in. This is where I need to know which server I’m pointing to.