Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

生成的protobuf-bundles.js 怎么在微信小游戏里面使用啊? #7

Open
smallcoderofme opened this issue Aug 28, 2018 · 1 comment

Comments

@smallcoderofme
Copy link

生成的protobuf-bundles.js 怎么在微信小游戏里面使用啊?

@yicaoyimuys
Copy link
Owner

egret publish --target wxgame 以后,protobuf的两个js文件会自动copy到微信小游戏的项目中,
require("js/protobuf-library.min.js")
require("js/protobuf-bundles.min.js")

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants