开启通过ip访问的配置
vite.config.js @@ -21,6 +21,7 @@ // vite 相关配置 server: { port: 80, host: true, open: true, proxy: { // https://cn.vitejs.dev/config/#server-proxy