环境配置

  • 安装Node.js
  • 安装Git(Git主要是用来下载一些实例)

克隆,安装并运行官方实例

# 克隆示例项目的仓库
$ git clone https://github.com/electron/electron-quick-start

# 进入这个仓库
$ cd electron-quick-start

# 安装依赖并运行
$ npm install && npm start

启动成功之后,如图所示:
2020-12-14T03:06:52.png

Last modification:December 14, 2020
If you think my article is useful to you, please feel free to appreciate