Skip to content
This repository has been archived by the owner on Jan 1, 2025. It is now read-only.

remarkablemark/electron-react-template

Repository files navigation

electron-react-template

A minimalist template for building Electron apps with React.

If you are looking for something more complex, then check out electron-react-boilerplate.

Install

$ npm install

Run

Run in production mode:

$ npm start

Run in development mode:

$ npm run dev

Directory structure:

.
├── ...
├── main.js           # initiates electron
└── app               # app directory
    ├── index.html    # entry html file
    ├── main.js       # entry javascript file
    ├── components    # react components
        └── ...
    └── build         # compiled files from webpack
        └── ...

License

MIT