npm run dev ip:port设置

 VsCode 启动 Vue 项目,命令行:

npm run dev 

Your application is running here: http://localhost:8000

ip:port 端口配置文件:config/index.js

host: 'localhost', // can be overwritten by process.env.HOST

port: 8000, // can be overwritten by process.env.PORT, if port is in use, a free one will be determined

你可能感兴趣的:(npm run dev ip:port设置)