Skip to content

danbrown/electron-react-template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Electron and React Template

Use this template to create a Electron application using React.


Available Scripts

In the project directory, you can run:

yarn start

Runs the app in the development mode.
Open http://localhost:3000 to view it in the browser.

You will also see any lint errors in the console.

yarn electron-dev

Runs the app in the development mode. Inside Electron.
It opens a Electron App that loads the React application and auto updates on reaload.

Open http://localhost:3000 manually to view it in the browser.

You will also see any lint errors in the console.

yarn electron-pack

Builds the React app for production to the build folder. And the Electron distributions in dist folder.
It correctly bundles React in production mode and optimizes the build for the best performance. The build is minified and the filenames include the hashes.
Your app is ready to be deployed!

To learn React, check out the React documentation.

Template made by Daniel Brown based on Kitze article and updated for newest Electron-Builder version. (v22.5.1)

About

This is a template using Electron and React

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published