cocos-creator-multiplayer/examples/custom-http-res/README.md

40 lines
450 B
Markdown
Raw Normal View History

2021-06-29 15:48:07 +00:00
# TSRPC Server
## Run
### Local Dev Server
```
npm run dev
```
### Unit Test
Execute `npm run dev` first, then execute:
```
npm run test
```
### Build
```
npm run build
```
---
## Files
### Generate ServiceProto
```
npm run proto
```
### Generate API templates
```
npm run api
```
### Sync shared code to client
```
npm run sync
```
> If you chose symlink when using `create-tsrpc-app`, it would re-create the symlink instead of copy files.