Skip to content

ayasin/electron-react-minimalist-bootstrap

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A minimalist React-Electron bootstrap project

This project is designed to provide you a minimal setup to get going with Electron and a React frontend.

Features

  • ReactJS front end
  • Electron packaging
  • ES6 and JSX support via Babel
  • Webpack to create bundles

Making react-electron-bootstrap your own in 10 easy steps

  1. Clone this repo
  2. Open the ./app/package.json file
  3. Change the name description and author to something more approprate
  4. Open the package.json file at the root of the project
  5. Change ElectronQuickStart in package-win32 package-darwin and package-linux to the name of your application
  6. Change the ./app/icon.ico (Windows icon) to something appropriate for your app
  7. Change the ./app/icon.icns (MAc and Linux icons) to something appropriate for your app
  8. Change main.window.css to your own CSS file
  9. On line 5 of main.window.entry.js change the import to your own root component.
  10. Add your own code to suit your purpose!

Adding npm modules

There are 2 package.json files. The one at the root of your project is for all frontend libraries. The one in ./app is for all server side libraries (libraries you use in the main node process). This separation avoids duplicate code being embedded into your final executable and allows you to have different targets for native modules (not covered here).

=== more to come ===

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published