Skip to content

Commit

Permalink
Add electron to webapp including dev setup
Browse files Browse the repository at this point in the history
  • Loading branch information
marcofranssen committed Nov 18, 2018
1 parent 9a3c435 commit feb1c0e
Show file tree
Hide file tree
Showing 4 changed files with 468 additions and 1 deletion.
10 changes: 10 additions & 0 deletions web/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ You can find the most recent version of this guide [here](https://github.com/fac
- [npm test](#npm-test)
- [npm run build](#npm-run-build)
- [npm run eject](#npm-run-eject)
- [npm run electron](#npm-run-electron)
- [npm run electron-dev](#npm-run-electron-dev)
- [Supported Browsers](#supported-browsers)
- [Supported Language Features and Polyfills](#supported-language-features-and-polyfills)
- [Syntax Highlighting in the Editor](#syntax-highlighting-in-the-editor)
Expand Down Expand Up @@ -198,6 +200,14 @@ Instead, it will copy all the configuration files and the transitive dependencie

You don’t have to ever use `eject`. The curated feature set is suitable for small and middle deployments, and you shouldn’t feel obligated to use this feature. However we understand that this tool wouldn’t be useful if you couldn’t customize it when you are ready for it.

### `npm run electron`

Make sure to run `npm run build` so the production build will be loaded in electron.

### `npm run electron-dev`

Make sure to first start the react-dev server using `npm start`. Then invoke `npm run electron-dev` to start the electron app.

## Supported Browsers

By default, the generated project uses the latest version of React.
Expand Down
Loading

0 comments on commit feb1c0e

Please sign in to comment.