vue LAN Access

TOC

vue LAN Access

By default, vue start of the project can only access this machine, you want to access can be set up in the LAN:

Code starts

yarn run dev --host 0.0.0.0
或者
npm run dev --host 0.0.0.0

webstorm start

In the configuration start argumentsthe Add

--host 0.0.0.0





Guess you like

Origin www.cnblogs.com/ziyue7575/p/11416083.html