Meteor Methods server and client usage


#1

i am learning meteor. i wanted to declare methods one server side and call it on client side. how to do that? because i can see declared methods if i use import for the file.

My application stucture

i can call to my methods using Meteor.call() from inspect element console… i don’t want to do that… how to fix it


#2

anyone can help me asap? i can fire methods using inspect element console. why that?


#3

Best you read about Methods in the guide. Also, if you want help with your code, just copy paste the code into the forum or create a gist. Screenshots of code are usually not very helpful.