操作系统要求
- Windows 7 以上
- 安装Nodeji V10 以上
安装Electron
- 克隆项目仓库
git clone https://github.com/electron/electron-quick-start.git
- 进入下载好的项目目录中
cd d:/*/electron-quick-start

3. 修改下载npm资源的镜像路径
npm config set ELECTRON_MIRROR https://npm.taobao.org/mirrors/electron/

4. 下载npm资源文件
npm install

5. 启动项目
npm start

发布者:全栈程序员-站长,转载请注明出处:https://javaforall.net/224911.html原文链接:https://javaforall.net
