cocos-creator-multiplayer/README.md

18 lines
241 B
Markdown
Raw Normal View History

2021-06-09 12:29:42 +00:00
# TSRPC Examples
Examples for [TSRPC](https://github.com/k8w/tsrpc).
## Usage
Start local backend server:
```
2021-06-09 14:38:55 +00:00
cd <example-dir>/backend
2021-06-09 12:29:42 +00:00
npm install
npm run dev
```
Start local frontend server:
```
2021-06-09 14:38:55 +00:00
cd <example-dir>/frontend
2021-06-09 12:29:42 +00:00
npm install
```