umi-electron-typescript
An example based on umijs + electron + typescript
Features
- Support hot reload for main process and renderer process
- Support typescript
Install
First, clone the repo via git:
git clone git@github.com:wangtianlun/umi-electron-typescript.git
And then install the dependencies with yarn
$ yarn
Starting Development
$ yarn start
Packaging
$ npm run pack
If you want to package into dmg(on mac) or zip, you can follow below
$ npm run dist
If you want to package all platforms(eg: mac, windows, linux), you can follow below
$ npm run dist-all