/electron_react

Electron template with a React Vite UI

Primary LanguageTypeScript

Electron React Template

Opinionated Electron starter project with React and the following setup:

The setup has currently no opinion on state management.
Recommended libraries are:

Deployment is out of scope of this project

How to use

  1. Clone the repo
  2. npm i to install the dependencies
  3. npm run dev to start the development mode with hot module reload
  4. npm run lint to run the ESLint checks
  5. npm run build to Build the Project and generate an executable

If you wish to use the login logic, you have to implement the login logic in the login screen and ues it in the private route component.

Notes

The project is inspired by https://github.com/electron-vite/electron-vite-react