Akryum / vue-supply

Create resources that can automatically be activated and deactivated when used (like subscriptions)
159 stars 16 forks source link

Vue2 + Meteor Client Bundler #8

Open alexandesigner opened 7 years ago

alexandesigner commented 7 years ago

@Akryum .. again thank you for the excellent packages!

I am working on a Vue2 (client) + Meteor (server) stack with Meteor Client Bundler and would like to know how I could subscribe to the data with reactivity? Any idea?

I thought maybe I could use the meteor-vue-tracker with the vue supply, but I'm not sure the compatibility and I can share a reproduce.

alexandesigner commented 7 years ago

I used the tracker but I'm not sure what the reactivity .. I close this question because I think at that moment the focus is not that .. But only a doubt the idea itself of vue-supply is similar to the react-meteor-data?

monocursive commented 7 years ago

A supply is actually a vue component, so you can use meteor-vue-tracker inside it. The readme have an example of this: Supply with Meteor methods. The next step is to think about where your supply will be used, either inside a component or to sink data into vuex.