https://github.com/alanbsmith/react-electron-starter
an example React + Electron application
https://github.com/alanbsmith/react-electron-starter
Last synced: about 1 year ago
JSON representation
an example React + Electron application
- Host: GitHub
- URL: https://github.com/alanbsmith/react-electron-starter
- Owner: alanbsmith
- License: cc0-1.0
- Created: 2016-04-25T22:35:42.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2017-05-11T03:20:03.000Z (about 9 years ago)
- Last Synced: 2025-04-23T01:05:58.612Z (about 1 year ago)
- Language: JavaScript
- Size: 5.86 KB
- Stars: 79
- Watchers: 3
- Forks: 9
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# React + Electron Starter
_an example app for using React with Electron_
### UP & RUNNING
* Run `npm install`
**FOR DEVELOPMENT**
* Run `npm run dev` to fire up Webpack
* In another terminal window run `npm start` to start electron
**FOR PRODUCTION**
* Run `npm run postinstall` to compile all your assets into `dist/bundle.js`
* Change the script tag in `dist/index.html` to use `bundle.js` as its source
* Run `npm start` to start electron