Meteor Methods server and client usage


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 from inspect element console… i don’t want to do that… how to fix it


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


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.