Skip to content

Commit

Permalink
Update a new readme file.
Browse files Browse the repository at this point in the history
  • Loading branch information
langyo committed Jul 29, 2019
1 parent 98207c4 commit 18a974a
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions demo/electron/README.md
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!

0 comments on commit 18a974a

Please sign in to comment.