How to change port number in vue-cli project

Posted by Pinki | Updated on

The port for the Vue-cli webpack template is found in your app root’s myApp/config/index.js. All you have to do is modify the port value inside the dev block:

Now you can access your app with localhost:4545.


If you like this question & answer and want to contribute, then write your question & answer and email to freewebmentor[@]gmail.com. Your question and answer will appear on FreeWebMentor.com and help other developers.

Related Questions & Answers