cocos-creator-multiplayer/examples/chatroom/backend/README.md

36 lines
373 B
Markdown
Raw Permalink Normal View History

2021-06-11 08:34:18 +00:00
# TSRPC Server
## Run
### Local Dev Server
```
npm run dev
```
### 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.