cocos-creator-multiplayer/examples/cocos-creator-2.4.7/backend
2022-02-26 11:29:21 +08:00
..
.vscode tsrpc creator 2.4.7 demo 2021-11-30 15:37:22 +08:00
src tsrpc creator 2.4.7 demo 2021-11-30 15:37:22 +08:00
.gitignore tsrpc creator 2.4.7 demo 2021-11-30 15:37:22 +08:00
package.json npm update 2022-02-26 11:29:21 +08:00
README.md tsrpc creator 2.4.7 demo 2021-11-30 15:37:22 +08:00
tsconfig.json tsrpc creator 2.4.7 demo 2021-11-30 15:37:22 +08:00
tsrpc.config.ts tsrpc creator 2.4.7 demo 2021-11-30 15:37:22 +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.