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


# Make sure you update the latest version
code -v
node -v
yarn -v
# 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
- Run
yarn build
- React Devtools has a lot problem in electron
- Combine development environment with vscode debugger is diffcult