In the development of other people how to access the project vue-cli built in LAN

Just make the following changes:

Find the project's home directory> config> index.js

The host was changed from localhost '0.0.0.0', restart the project:

Start their own projects when you can still use localhost, HTTP: // localhost: 21363

Check local ip ipconfig

The domain name change cost level ip address, others can access your project a vue

Reproduced in: https: //juejin.im/post/5cef3330f265da1bd60587d3

Guess you like

Origin blog.csdn.net/weixin_34392435/article/details/91438761