Giter Site home page Giter Site logo

house-plan's Introduction

Minimalistic Electron React Boilerplate Code

This is a minimal Electron React boilerplate code using webpack and webpack-loader. It's simple and you can built upon starter code. I know there are tons of boilerplate code out there but either they are too tricky for beginner or just a pain. I wanted to code my app not stuck in configuring for a year. Feel free to improve by commiting changes

To Use

To clone and run this repository you'll need Git and Node.js (which comes with npm) installed on your computer. From your command line:

# Clone this repository
git clone https://github.com/alexakasanjeev/electron-react-quick-start.git your-project-name
# Go into the repository
cd your-project-name
# Install dependencies
npm install
# Start the webpack first
npm run dev
# In different terminal, start app
npm start

After making changes to renderer.js hit Ctrl+R in app window to reload manually There is no hot reloading. This is a minimal boilerplate code that will just get you started.

**IMPORTANT** Everytime you change something (in any js file) you have to change something in render.js( type something then comment it out) and hit Ctrl+ R to recompile everything

Learn more about Electron and its API in the documentation.

house-plan's People

Watchers

 avatar

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.