title: vue-cli webpack server custom domain
body: <p>I am using vue-cli webpack package and I need to set a custom domain on webdev server to connect to API due to CORS related issues. How can I achieve that? Entering localhost:8080 into backend database does not work.
  Thanks in advance :)</p>