Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Collection querying issues in VueSSR.createApp #413

Open
MKRazz opened this issue Sep 29, 2020 · 0 comments
Open

Collection querying issues in VueSSR.createApp #413

MKRazz opened this issue Sep 29, 2020 · 0 comments

Comments

@MKRazz
Copy link

MKRazz commented Sep 29, 2020

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant