Skip to content

XFSZYB/umi-electron-typescript

 
 

Repository files navigation

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

About

an example based on umijs + electron + typescript

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 55.1%
  • JavaScript 34.5%
  • HTML 10.4%