A minimal boilerplate for React + Electron, built with Parcel. ๐ฆ๐
Run the following commands to start the project:
git clone https://github.com/flowforfrank/react-electron-parcel-boilerplate.git
npm i
npm run start
The electron
command in the package.json
file is only used internally by the boilerplate to launch electron.
Run npm run build
. This will create a dist
folder with:
- A folder called
app-win32-ia32
containing the executable file - A folder called
installer
containing the setup files to install the app
- ๐
public
: Holds all your public assets, such as styles, images or fonts. Also holds theindex.html
- ๐
scripts
: Holds thestart
andbuild
script. This is where you can configure the setup - ๐
src
- ๐
components
: A place to hold your React components - ๐
electron
: Includes the start scripts for adev
andprod
Electron build
- ๐
If you are interested in further details, or you want to reconfigure the scripts
, or you just simply want to read about the implementation, you can do so on webtips.dev. ๐ฆ๐