/electron-antd

Create a desktop app with Electron + Typescript + React + Antd

Primary LanguageTypeScriptMIT LicenseMIT

Quick start

install

yarn
# or
npm install

start dev

npm run dev

Overview

  • webpack
  • electron
  • electron-builder
  • electron-log
  • react
  • react-router
  • redux
  • ant-design
  • remixicon
  • less
  • typescript
  • eslint
  • prettier

DevTools

Toggle DevTools:

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

Build package

Modify builder.config.ts to edit package info.

For a full list of options see: https://www.electron.build/configuration/configuration

Create a package for OSX, Windows and Linux

npm run build

Please check the release folder after the build is complete.

License

MIT