This is probably a very basic question, but it’s something that I haven’t figured out. I’ve recently added a new module to my Meteor application like this:
$ meteor add xyz:loading
However, the documentation for this package doesn’t give an example of how to import it. I’ve tried:
import XYZ from "xyz:loading"
but that doesn’t work. I get an “unable to resolve module” error.
Usually, the documentation for a package shows how the package should be imported. But when it doesn’t, how can I figure this out?
PS: I am using this package to display a busy cursor while invoking a Meteor method. Is there a better way?