forked from gabrielbull/react-desktop
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
27 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
# React desktop Electron demo | ||
|
||
![TIM201907300143533f238.png](https://miao.su/images/2019/07/30/TIM201907300143533f238.png) | ||
|
||
## How to use | ||
|
||
First, enter the folder: | ||
|
||
```cd demo/electron``` | ||
|
||
Install the libraries: | ||
|
||
```npm i``` or ```yarn``` (if you have been installed it) | ||
|
||
Build once: | ||
|
||
```npm run build``` | ||
|
||
Then start the server: | ||
|
||
```npm run watch``` | ||
|
||
Open another console at the same folder, and run this command to start the Electron process: | ||
|
||
```npm start``` | ||
|
||
That's it! |