电脑上安装了node.js安装依赖,进入项目所在文件夹,右键 Git Bush Here。输入npm install。因为git上只存在package.json,不存在node_modules.所以下载到本地需要重新安装依赖。然后输入npm run dev 就可以启动项目。