https://github.com/jaredpalmer/electron-starter
A minimal Electron starter
https://github.com/jaredpalmer/electron-starter
electron react webpack
Last synced: about 1 year ago
JSON representation
A minimal Electron starter
- Host: GitHub
- URL: https://github.com/jaredpalmer/electron-starter
- Owner: jaredpalmer
- Created: 2016-09-01T16:20:20.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2016-09-01T16:20:24.000Z (almost 10 years ago)
- Last Synced: 2025-03-29T08:23:31.895Z (about 1 year ago)
- Topics: electron, react, webpack
- Language: JavaScript
- Size: 547 KB
- Stars: 8
- Watchers: 1
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# Electron Starter
A minimal Electron starter.
### Battery Pack Included!
- Electron
- React
- React Dev Tools
- Webpack (Babel Stage-0, JSON-loader, File-loader for images)
- Devtron
## Install
```bash
git clone https://github.com/jaredpalmer/electron-starter MyProject
cd MyProject
npm i
npm start
```
## Usage
Open and edit `./src/index.js`. You'll feel right at home.
## What's Electron?
Electron is a framework that allows developers to build cross platform desktop apps with JavaScript, HTML, and CSS.
- `package.json` - Points to the app's main file and lists its details and dependencies.
- `main.js` - Starts the app and creates a browser window to render HTML. This is the app's **main process**.
- `index.html` - A web page to render. This is the app's **renderer process**.
- `src/index.js` - Your javascript entry point.
You can learn more about the Electron-specific components within the [Electron Quick Start Guide](http://electron.atom.io/docs/latest/tutorial/quick-start). You can also learn more about Electron and its API in the [documentation](http://electron.atom.io/docs/latest).