background
Only vue project, no background.
Other tutorials on the Internet have modified the index.js file in the config directory. The current local vue project does not have a config directory.
turn off firewall
Go to "Firewall and Network Protection" and turn off the following three
Start the vue project
First of all, the following are my vue and scaffolding versions
Start the vue project
(I saw in other tutorials, many people said that they need to modify the host of the index.js/vue.config.js file, but I didn’t modify it, just run it directly)
network is the ip address of the current wireless LAN (you can also view it in ipconfig).
Others in the LAN can access it through the following ip address and port