Skip to content

Latest commit

 

History

History
executable file
·
16 lines (10 loc) · 323 Bytes

electron-forge安装配置.md

File metadata and controls

executable file
·
16 lines (10 loc) · 323 Bytes

electron-forge安装配置

安装CLI

首先要安装forgecli,有了这个加持,才能确保打包成功。这里有两种安装方式,第一种是最原生的npm:

npm install --save-dev @electron-forge/cli

另外一种是通过yarn安装:

yarn add --dev @electron-forge/cli