Skip to content

skwid138/electron-create-react-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Electron Create React App

This project was bootstrapped with Create React App.

Electron Changes

File Additions and updates

  • Procfile - This is used with foreman to make sure the React dev server is started before starting Electron
  • src/electron-wait-react.js - This is also used to make sure the dev server is started before Electron
  • Package.json - Updated and added several scripts (npm start is still used for development), added main, home, and build as well
  • public/electron.js - This was /main.js copied from Electron's electron-quick-start repository
  • Optional .env - Adding BROWSER="none" will prevent the browser from opening when the dev server starts

Scripts

  • npm start will now open an electron window (as well as a browser unless using the above optional .env)

Resources

About

Electron wrapped version of the base create-react-app

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published