This is an example Electron + React application that uses Turborepo to build and run its tasks.
You just need to run two commands:
# to install dependencies, just required the first time
yarn
# to run the app
yarn start
This will start the Electron application, wait until the dev server for the React UI is ready and then load it.
Currently the app packaging is in progress and has room for improvement. It works for some platforms and with not much work can be functional for other platforms too.
# to install dependencies, just required the first time
yarn
# to package the app
yarn package
apps/ui/
is pretty much the same as the default React app created by create-react-appapps/desktop/
minimal Electron app, with support for TypeScript and dependency bundling using Webpack. This app was started from Electron quickstart repo (the TypeScript flavor).apps/packager/
configurations and scripts to package the app using Electron Builderpackages/wait-for-server-up/
is a small node package that could very much live on apps/desktop/ but I decided to put it outside to showcase how you can use packages