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这种? #35

Closed
lanyantao opened this issue Sep 16, 2020 · 4 comments
Closed

可以增加三方库吗,protobuf这种? #35

lanyantao opened this issue Sep 16, 2020 · 4 comments

Comments

@lanyantao
Copy link

可以增加三方库吗,protobuf这种?

@chexiongsheng
Copy link
Collaborator

google就有官方的js支持,好像是纯js的,你直接拿过来用就行

@lanyantao
Copy link
Author

google就有官方的js支持,好像是纯js的,你直接拿过来用就行

谢作者回复,我的意思是会想xlua那样可以添加三方库进去吗,不光是protobuf,当然这个可能是用的最多的,另外您的意思是否是,其他的比如json库这种也可以找个js可以支持的放进去用就可以了,也不需要配置什么

@Geequlim
Copy link
Contributor

可以使用npm仓库内的大量第三方库,也能直接使用符合commonjs规范的库,建议配合webpack之类的编译工具使用。
这个issue可以关了。

@chexiongsheng
Copy link
Collaborator

google就有官方的js支持,好像是纯js的,你直接拿过来用就行

谢作者回复,我的意思是会想xlua那样可以添加三方库进去吗,不光是protobuf,当然这个可能是用的最多的,另外您的意思是否是,其他的比如json库这种也可以找个js可以支持的放进去用就可以了,也不需要配置什么

json库?你开玩笑么?json就是JavaScript Object Notation,本来就是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

3 participants