cocos-creator-multiplayer/examples/cocos-creator-3.3.0/backend
2021-12-25 18:33:59 +08:00
..
.vscode cocos creator 3.3.0 examples 2021-09-02 00:27:24 +08:00
src examples to new tsrpc-cli 2021-10-07 15:30:02 +08:00
.gitignore cocos creator 3.3.0 examples 2021-09-02 00:27:24 +08:00
package.json backend 加入 npm run doc 命令 2021-12-25 18:33:59 +08:00
README.md cocos creator 3.3.0 examples 2021-09-02 00:27:24 +08:00
tsconfig.json cocos creator 3.3.0 examples 2021-09-02 00:27:24 +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.