首先请确保您有node环境:https://www.jianshu.com/p/09cfcc82294e 安装依赖 npm i 使用live-server启动服务 live-server 如果未安装live-server,需要安装后再试 npm install live-server -g