veu npm run dev designated host

In general, we can vue project config / index.js designated host ,, as follows (annotation host of solution)

 

 However, in the current project he took over, the solution after the comment host, npm run dev and have become

http://192.168.43.230:8087, is still http: // localhost: 8087

 

After a search, found to be configured in the build / dev-server.js file as follows.

 

Guess you like

Origin www.cnblogs.com/wayneliu007/p/11495212.html
Recommended