You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Create React Electron App Ready Configured For Production Build
3
+
4
+
This package creates **React+Electron App** using the famous [create-react-app](https://github.com/facebook/create-react-app#readme)
5
+
library and following the additional steps taken from [this blog](https://medium.com/@kitze/%EF%B8%8F-from-react-to-an-electron-app-ready-for-production-a0468ecb1da3)
6
+
7
+
8
+
9
+
## Install
10
+
To Install The Package Simply Run:
11
+
```bash
12
+
npm install react-electron-app -g
13
+
```
14
+
15
+
## Usage
16
+
17
+
After installing the package simply run
18
+
19
+
```bash
20
+
react-electron-app new <appname>
21
+
```
22
+
23
+
## Running the Project
24
+
25
+
to start the electron browser in development mode simply type
26
+
27
+
```bash
28
+
npm run electron-dev
29
+
```
30
+
31
+
to pack the electron app simply type
32
+
33
+
```bash
34
+
npm run electron-pack
35
+
```
36
+
37
+
by default this package will build the app for Mac OS, Linux and Windows. You can specify one of them by editing the `package.json`
0 commit comments