- Support hot reload for main process and renderer process
- Support typescript
First, clone the repo via git:
git clone git@github.com:wangtianlun/umi-electron-typescript.git
And then install the dependencies with yarn
$ yarn
$ yarn start
$ 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