cocos-creator-multiplayer/examples/chatroom/backend
2021-10-07 15:30:02 +08:00
..
.vscode chatroom 2021-06-11 16:34:18 +08:00
src chatroom 2021-06-11 16:34:18 +08:00
.gitignore chatroom 2021-06-11 16:34:18 +08:00
package.json examples to new tsrpc-cli 2021-10-07 15:30:02 +08:00
README.md chatroom 2021-06-11 16:34:18 +08:00
tsconfig.json chatroom 2021-06-11 16:34:18 +08:00
tsrpc.config.ts examples to new tsrpc-cli 2021-10-07 15:30:02 +08: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.