(1)用DOS管理员打开
(2)进入到项目目录
以下图为例:
(3) 设置淘宝镜像 npm install cnpm -g --registry=https://registry.npm.taobao.org
(4) 安装 cnpm install electron –g
(5) 安装 node_module
包
cnpm install
(6) 启动
npm run start
(1)用DOS管理员打开
(2)进入到项目目录
以下图为例:
(3) 设置淘宝镜像 npm install cnpm -g --registry=https://registry.npm.taobao.org
(4) 安装 cnpm install electron –g
(5) 安装 node_module
包
cnpm install
(6) 启动
npm run start