Skip to content

sanjeevyadavIT/electron-react-quick-start

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

91 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Minimalistic Electron React Boilerplate Code

This is a minimal Electron React boilerplate code using webpack and webpack-loader. It's simple and you can built upon starter code. I know there are tons of boilerplate code out there but either they are too tricky for beginner or just a pain. I wanted to code my app not stuck in configuring for a year. Feel free to improve by commiting changes

To Use

To clone and run this repository you'll need Git and Node.js (which comes with npm) installed on your computer. From your command line:

# Clone this repository
git clone https://github.com/alexakasanjeev/electron-react-quick-start.git your-project-name
# Go into the repository
cd your-project-name
# Install dependencies
npm install
# Start the webpack first
npm run dev
# In different terminal, start app
npm start

After making changes to renderer.js hit Ctrl R in app window to reload manually There is no hot reloading. This is a minimal boilerplate code that will just get you started.

**IMPORTANT** Everytime you change something (in any js file) you have to change something in render.js( type something then comment it out) and hit Ctrl R to recompile everything

Learn more about Electron and its API in the documentation.

About

Clone to try a simple Electron React app

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 90.6%
  • HTML 9.4%