Skip to content

Latest commit

 

History

History
57 lines (37 loc) · 1.32 KB

README.md

File metadata and controls

57 lines (37 loc) · 1.32 KB

umi-electron-typescript

An example based on umijs + electron + typescript

Umi Webpack TypeScript Electron

访问中文版

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

screenshot

umi-electron-typescript-image