A minimal Electron + React.js + material-UI boilerplate with parcel as bundler. Parcel is an alternative web application bundler to Webpack.
git clone https://github.com/Funarp/electron-react-materialui-parcel
cd electron-react-materialui-parcel
yarn install
Run these commands to start dev server and Electron app
# Parcel bundles the code and runs dev server
$ yarn dev
# Run the electron app which uses local dev server
$ yarn start-dev
Run this command to bundle code in production mode
# Parcel bundle code once
$ yarn build
# Create executables
$ yarn dist