Regarding this:
I’d rather use ES6 modules instead of using globals or namespaces. The problem is, though, on the client side you can’t import
from the server side. So do I just have bite the bullet and use a global?
Regarding this:
I’d rather use ES6 modules instead of using globals or namespaces. The problem is, though, on the client side you can’t import
from the server side. So do I just have bite the bullet and use a global?
move your methods to /imports/api/…
Yep… got this figured out a while ago