Git Product home page Git Product logo

electron-react-parcel-boilerplate's Introduction

Electron + React + Parcel Boilerplate

A boilerplate for Electron + React + Parcel.

Usage

Install dependencies

First, you must install dependencies.

$ yarn install

Start hacking

Now you can start hacking by executing the following command.

$ yarn dev

You will edit the files under renderer basically, or under main if you want to configure Electron itself.

Deploy your application

The commands below release your application.

$ yarn clean
$ yarn build
$ yarn release

electron-react-parcel-boilerplate's People

Contributors

blarfoon avatar dependabot[bot] avatar shamofu avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

electron-react-parcel-boilerplate's Issues

Reloader for Main process

@shamofu - thanks SO MUCH for putting this boilerplate together! Hugely helpful ๐Ÿฐ๐Ÿ’ช.


I notice the main process does not auto re-load on changes (is that right, or am I missing something?). Makes sense as that's outside the purview of parcel, I guess.

But projects like electron-webpack seem to have figured out how to do HMR on main. Is this intentionally left out? Or do you have a strategy for how this might be done? Or (as above) and I missing something ๐Ÿ˜›.

Thanks.

Questions - Electron Version and .babelrc

Hey there @shamofu,

Couple of question popped up as I was working over your (fine) repo:


Electron Version

I noticed you reverted from Electron v4 => v3 [commit]

I was wondering why that was. What it an issue with V4 of electron that would be useful to know about?


.babelrc

I'm wondering why you included a .babelrc file. Parcel seems to pick up these settings automatically, and much of the "electron" target is specified within the command line args in package.json.

It also seems to work find without it. Wondering what you know here that's not obvious ๐Ÿง.


Thanks @shamofu - again, this repo is proving unbelievably helpful!!!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.