meteor-vue / vue-meteor

🌠 Vue first-class integration in Meteor
898 stars 111 forks source link

Collection querying issues in VueSSR.createApp #413

Open MKRazz opened 3 years ago

MKRazz commented 3 years ago

I'm trying to query a collection from the server-side createApp function, but it's returning undefined. I investigated it a bit and it looks like it's coming from being wrapped in SsrContext. I'm not understanding what feature this context is trying to provide, is there an issue querying a collection directly here? I had the code running fine in onPageLoad directly, but was trying to move it to createApp for consistency. Not seeing anything about this in the readme, any tips?