bgorkem / electron-react-base

Base implementation of an Electron container with React JavaScript code behind

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ELECTRON-REACT-BASE

This project was bootstrapped with Create React App.

Original article from Create Your First React Desktop Application in Electron With Hot-Reload

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.

The page will reload if you make edits.
You will also see any lint errors in the console.

yarn electron

Start the electron app hosting the React Website.

Depending on the development mode or not, you either need yarn start or yarn build to run first

yarn build

Builds the app for production to the build 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!

See the section about deployment for more information.

About

Base implementation of an Electron container with React JavaScript code behind

License:MIT License


Languages

Language:JavaScript 75.0%Language:HTML 20.1%Language:CSS 4.9%