ff6347 / parcel-react-electron

πŸ“¦πŸš€ A minimal Electron + React.js boilerplate project with parcel as bundler.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

parcel-react-electron

A minimal Electron + React.js boilerplate with parcel as bundler. Parcel is an alternative web application bundler to Webpack.

Installation

  • git@github.com:Snjoo/parcel-react-electron.git
  • cd parcel-react-electron
  • yarn

Usage

Development mode

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

Production mode and packaging app

Run this command to bundle code in production mode

# Parcel bundle code once
$ yarn build

# Create executables
$ yarn dist

About

πŸ“¦πŸš€ A minimal Electron + React.js boilerplate project with parcel as bundler.


Languages

Language:JavaScript 69.5%Language:HTML 16.4%Language:CSS 14.0%