iview / iview-project

This project is build for Vue.js 2 + vue-router + webpack2 + iView 3
MIT License
839 stars 389 forks source link

npm run dev 端口如何修改? #40

Open djiepeng opened 7 years ago

djiepeng commented 7 years ago

npm run dev 默认的8080端口如何修改成其他端口?

djiepeng commented 7 years ago

已经找到了,在webpack.dev.config.js中找到output,在下面添加

devServer:{ port:8081 },