twem007 / protobuf-ts

export protobuf typescript code

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

pb_tools 使用手册

该解决方案借鉴Egret首席架构师王泽提供的解决方案,开源库地址:https://github.com/WanderWang/protobuf-egret, 本着使用便利不依赖egret的目的简化了使用方式。

环境依赖

  1. nodejs

使用方式

  1. 打开命令行并进入到 pb_tools 目录下
  2. 执行 npm install -g
  3. 执行 pb-run 命令
  4. 从 pb_tools/protobuf/bundles 下复制 proto 导出的代码
  5. 从 pb_tools/protobuf/library 下复制库文件

About

export protobuf typescript code

License:MIT License


Languages

Language:JavaScript 99.2%Language:TypeScript 0.8%