Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/alexkrolick/preact-photon-electron-quick-start

Demo desktop app built with Electron using the Preact-Photon UI library
https://github.com/alexkrolick/preact-photon-electron-quick-start

electron photon preact react

Last synced: 3 months ago
JSON representation

Demo desktop app built with Electron using the Preact-Photon UI library

Awesome Lists containing this project

README

        

# Preact-Photon Demo

Demonstration of a desktop app built with [Electron] using the [Preact-Photon] UI library, [Yarn] for package management, and [Babel] and [Webpack2] for compilation.

[Preact-Photon]: https://github.com/developit/preact-photon
[Yarn]: https://yarnpkg.com/en/
[Babel]: https://babeljs.io/
[Webpack2]: https://webpack.js.org/
[Electron]: http://electron.atom.io/

See [package.json](./package.json) for scripts and dependencies.

Repository based on [electron-quick-start](https://github.com/electron/electron-quick-start).

## Usage

First, install [Yarn] for your system (you can replace `yarn` with `npm` below if you don't wish to switch yet)
- `yarn install` Install dependencies.
- `yarn watch` Compile development version and watch for changes. Bundled files will appear in `dist/`.
- `yarn start` Start the desktop app (while watcher is running in another terminal). Use Ctrl-R or Cmd-R to reload the app.

## Screenshot

![screenshot](https://cloud.githubusercontent.com/assets/1571667/22858146/d49f61f6-f069-11e6-9376-eed358cc20f2.png)