Where should Meteor.methods() be defined?

后端 未结 4 703
爱一瞬间的悲伤
爱一瞬间的悲伤 2020-12-13 15:31

http://docs.meteor.com/#meteor_methods

I have tried it in publish.js in my server folder.

I am successfully calling Meteor.apply and attempting the server ca

4条回答
  •  一向
    一向 (楼主)
    2020-12-13 16:07

    I've uploaded a short example here, should you need a working example of this: https://gist.github.com/2387816

提交回复
热议问题