Network: use `--host` to expose

vite startup project prompt Network: use  --host to expose Colleagues cannot access the project through the local IP address



Solution: Start the command in package.json to configure the local IP address   vite --host 192.168.200.252

Guess you like

Origin blog.csdn.net/weixin_53561783/article/details/133140138