I’m still trying to figure out imports in 1.3. I’m having trouble accessing my Meteor.methods after removing insecure.
App client/ main.js server/ main.js imports/ api/ methods/ methods.js ui/ myview.jsx
My Meteor.call() in myview.jsx does not seem to work and I get an access denied. I tried importing the methods.js into server/main.js with:
Shouldn’t this register the Meteor.method with the server? I was trying to use the demo todo’s but the removing insecure page does not show how it’s imported (or I’m missing it).Do I need to export from methods.js or does importing the file run and register Meteor.methods()?