/electron-antd

快速创建一个 electron + react + antd 的桌面 APP

Primary LanguageJavaScriptMIT LicenseMIT

Quick start

npm install

# 

npm run dev

Overview

  • webpack 4
  • electron
  • electron-package
  • react 16
  • react-router 5
  • ant-design
  • less

DevTools

Toggle DevTools:

  • OSX: Cmd Alt I or F12
  • Linux: Ctrl Shift I or F12
  • Windows: Ctrl Shift I or F12

Packaging

Modify package.config.js to edit package info.

For a full list of options see: https://github.com/electron-userland/electron-packager/blob/master/docs/api.md.

Create a package for OSX, Windows and Linux

npm run pack

Or target a specific platform

npm run pack:mac
npm run pack:win
npm run pack:linux

The browser-sync version archive to branch v1.0