项目作者: James-Frowen

项目描述 :
Example of an Electron application using Typescript and React.
高级语言: TypeScript
项目地址: git://github.com/James-Frowen/electron-react-typescript-example.git


Electron React Typescript example

Example of an Electron application using Typescript and React.

Install

Clone repo

git clone https://github.com/James-Frowen/electron-react-typescript-example.git

Install dependencies

npm install

Compile

If typescript is install globally

tsc

Within vscode

Project includes vscode task to build, Build task default keyboard shortcut.

ctrl + shift + B

This will watch typescript files and compile on change

Run

Start with npm script (also runs tsc before start)

npm start

or if electron is install globally

electron .