Skip to content

euc-labs/electron-react-demo-app

Repository files navigation

Electron-React App

This reposotory is ment to be a guide for those who are looking to start a desktop app with Electron and React. It covers te initial configurations and the basic estructure.

Dependencies

This app uses a number of open source projects to work properly, some of the most importants are :

  • Electron
  • Webpack
  • Babel
  • React
  • Concurrently

Installation

Install the dependencies and devDependencies. For that, go to the project forlder and run this command

$ npm i

To run the project

For development environments...

$ npm run build
$ npm run dev

For production environments...

$ npm run build
$ npm run start

This will auto-build after save any file on the project, to see the changes just refresh (like a browser) the electron window.

Todos

  • Define exactly what all babel dependencies one by one

License

MIT