nuxt configures LAN access

Find the nuxt.config.js file in the root directory of the project, and then change the host under the server to ''0.0.0.0" and the port to 3333, so that you can access your local IP + port 3333 in the LAN nuxt project

Guess you like

Origin blog.csdn.net/weixin_46413834/article/details/129297725