Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/alexkrolick/preact-photon-electron-quick-start
- Owner: alexkrolick
- License: cc0-1.0
- Created: 2017-02-11T22:48:17.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2018-01-25T05:21:22.000Z (almost 7 years ago)
- Last Synced: 2024-10-03T12:39:54.583Z (4 months ago)
- Topics: electron, photon, preact, react
- Language: JavaScript
- Homepage:
- Size: 1.03 MB
- Stars: 35
- Watchers: 5
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
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)