- 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
First, start the renderer process (default port 8000)
$ yarn start:renderer
And then start the main process
$ yarn start:main
$ npm run pack
If you want to package into dmg(on mac) or zip, you can follow below
$ npm run dist