Skip to content
This repository was archived by the owner on May 6, 2023. It is now read-only.

lightyen/electron-react-typescript

Repository files navigation

electron-react-typescript

This is a template project about building electron application with typescript and react, I use it to kill my time.

Environment

vscode-img nodejs-img yarn-img

Prepare

# Make sure you update the latest version
code -v
node -v
yarn -v

Getting Started

# clone this repo
git clone https://github.com/lightyen/electron-react-typescript.git

cd electron-react-typescript

# check dependencies
yarn

# start webpack-dev-server
yarn start:renderer

# start nodemon
yarn start:main

# want pack this project?
yarn build

recommend using vscode

Screenshot

screenshot

Pack this application

  • Run yarn build

issue

  • React Devtools has a lot problem in electron
  • Combine development environment with vscode debugger is diffcult

links

About

Electron with react and typescript

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published