This repo shows how to use package the Material Design Lite "Dashboard" template with react and react-router into a super simple electron app. It's bare bones, but works.
Note that if you make changes in the source, you can use CMD+R to reload the page once the file is rebuilt. Also, you can turn developer tools on and off from the menubar.
It's based on this great article:
If you're developing, do this:
- Clone the repo
- Run
npm install
- Run
npm start
Once you've got the app.js, you can run these to build and package the elcetron app:
npm run electron
(local server)npm run package