1.下载node.js 并安装 去node官网下载2.命令行中: npm i http-server -g3.切换到你的页面目录。然后命令行: http-server4.会看到有两条链接,访问有ip地址的那个链接即可