下载安装Electron
(1)直接npm安装无法下载
npm install --save-dev electron
(2)安装cnpm
npm install -g cnpm --registry=https://registry.npm.taobao.org
(3)通过cnpmanz
cnpm install --save-dev electron
下载安装Electron
(1)直接npm安装无法下载
npm install --save-dev electron
(2)安装cnpm
npm install -g cnpm --registry=https://registry.npm.taobao.org
(3)通过cnpmanz
cnpm install --save-dev electron