meteor-vue/vue-meteor

Collection querying issues in VueSSR.createApp

MKRazz opened this issue · 0 comments

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?