+
95
-

回答

打开package.json 找到scripts模块,在dev的vite后面增加 --host 域名 --port 端口号即可,示例如下:


网友回复

我知道答案,我要回答