如何在手机上运行本地的index.html 1、全局安装http-server:npm install http-server -g 2、安装完成后,找到html文件夹所在的目录,在这个目录下运行命令:http-server image.png