Added installation method for yarn
This commit is contained in:
parent
460130a527
commit
0ae926b47b
@ -53,7 +53,11 @@ If you have your own server, you can attach PeerServer.
|
|||||||
1. Install the package:
|
1. Install the package:
|
||||||
```sh
|
```sh
|
||||||
#$ cd your-project-path
|
#$ cd your-project-path
|
||||||
|
# with npm
|
||||||
$ npm install peer
|
$ npm install peer
|
||||||
|
|
||||||
|
# with yarn
|
||||||
|
$ yarn add peer
|
||||||
```
|
```
|
||||||
2. Use PeerServer object to create a new server:
|
2. Use PeerServer object to create a new server:
|
||||||
```javascript
|
```javascript
|
||||||
|
Loading…
x
Reference in New Issue
Block a user