lixinxiaobai / electron-ts-admin

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Description

Projects using react, react-router, mobx, antd, electron using typescript. modified based on https://github.com/electron-react-boilerplate/electron-react-boilerplate.git

Install

First, clone the repo via git:

git clone master hhttps://github.com/lixinxiaobai/electron-ts-admin.git your-project-name

And then install the dependencies with yarn.

$ cd your-project-name
$ yarn

Run

Start the app in the dev environment.

$ yarn dev

If you don't need autofocus when your files was changed, then run dev with env START_MINIMIZED=true:

$ START_MINIMIZED=true yarn dev

Packaging

To package apps for the local platform:

$ yarn package

To package apps for all platforms:

$ yarn package-all

To package apps with options:

$ yarn package --[option]

About

License:MIT License


Languages

Language:TypeScript 84.9%Language:JavaScript 13.8%Language:HTML 0.8%Language:CSS 0.5%