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: 14 days 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 (over 8 years ago)
- Default Branch: master
- Last Pushed: 2018-01-25T05:21:22.000Z (over 7 years ago)
- Last Synced: 2025-04-26T09:38:56.737Z (19 days ago)
- Topics: electron, photon, preact, react
- Language: JavaScript
- Homepage:
- Size: 1.03 MB
- Stars: 36
- Watchers: 4
- 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
