vue-meteor-tracker
vue-meteor-tracker copied to clipboard
this.$subscribe is not a function
trafficstars
Hi @Akryum , I tried to use subcriptions in Options API by using the syntax:
mounted () {
// Subscribes to the 'threads' publication with two parameters
this.$subscribe('thread', ['new', 10])
}
In my app, I am using both versions: this.$subscribe() and the object way { meteor: { $subscribe: [] } }. Actually, I use the second one, but the first one is important as well because I need the subscription starts on the mounted hook.
Hi @Akryum , have you had the chance to check this?