使用nodejs中 http-server 模块建立轻量级文件服务器 安装 nodejs 执行命令 npm i http-server -g 在文件目录路径执行命令 http-server 即可开启文件服务器 默认端口为80 修改端口则 http-server -p 81