vue-supply icon indicating copy to clipboard operation
vue-supply copied to clipboard

Using vue-supply with Meteor without vue-ssr?

Open butaminas opened this issue 5 years ago • 3 comments

I've been trying to integrate vue-supply into my app for a while now but it just does not work whatever I do.

Finally, I thought I would try to reverse engineer the vue-meteor-demo app that seems to have vue-supply working. After removing all the components that I don't need, I noticed, that after I remove the meteor package akryum:vue-ssr I get an error storeOptions.supply.inject is not a function and this is the same error I get when trying to integrate vue-supply to my app as well.

Server side rendering is not important for my app at all and I don't need vue-ssr. Is there a way to use vue-supply without using the server side rendering?

Note: the main reason I want to use vue-supply on my app is so I could get collections in vuex store.

butaminas avatar Nov 06 '18 14:11 butaminas

I'm thinking of trying vue-supply for the same reason (reactive collections available through vuex store)...

have you solved this SSR issue?

I'm also looking for info for the use cases between using vue-supply vs. vue-meteor-tracker, the only advantage I see for vue-supply is the integration to vuex, is there any other points for using one over the other?

thx

eybarta avatar Dec 09 '18 09:12 eybarta

I'm thinking of trying vue-supply for the same reason (reactive collections available through vuex store)...

have you solved this SSR issue?

I'm also looking for info for the use cases between using vue-supply vs. vue-meteor-tracker, the only advantage I see for vue-supply is the integration to vuex, is there any other points for using one over the other?

thx

I ended up using vue-meteor-tracker instead. After making it work I don't see how this package could give any advantage over meteor tracker.

butaminas avatar Dec 09 '18 20:12 butaminas

Is there a way to use vue-meteor-tracker inside the store, or are you just using meteor:$subscribe... in every component you need the data?

thx

eybarta avatar Dec 10 '18 06:12 eybarta