Vue project configuration to run automatically and change the port number _ Jiang Ai Zier essays

In package.json file add the following code, note 7979 into the port number you want to set.

 "vue": {
    "devServer": {
      "port": 7979,
      "open": true
    }
Published 29 original articles · won praise 32 · views 4735

Guess you like

Origin blog.csdn.net/weixin_43867242/article/details/104487091