LAN access vue development projects running

vue development locally run, localhost: 8080 can be accessed, 127.0.0.1:8080 can access, but use native IP: 8080 instinct access.

Solution:

Modify config / index.js profile.
host of value to 0.0.0.0 after the restart project.
Here Insert Picture Description

Published 19 original articles · won praise 0 · Views 1069

Guess you like

Origin blog.csdn.net/xilejie/article/details/104380490