Demonstration of a desktop app built with Electron using the Preact-Photon UI library, Yarn for package management, and Babel and Webpack2 for compilation.
See package.json for scripts and dependencies.
Repository based on electron-quick-start.
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 indist/
.yarn start
Start the desktop app (while watcher is running in another terminal). Use Ctrl-R or Cmd-R to reload the app.