How to use with Nuxt3? #1247
Replies: 2 comments 4 replies
-
There are plans for a nuxt module that will handle the SSR out of the box. At this moment, the SSR is a bit manual to handle so it's better if you don't need it yet. As for your example, you need to move the posts variable outside of the |
Beta Was this translation helpful? Give feedback.
4 replies
-
The module is now documented in VueFire docs! |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am testing out the possibily of using VueFire@next with Nuxt3 and tried to do the following setup based on the Vuefire docs:
The above code causes the following warning in devtools and nothing is rendered to the screen.
[Vue warn]: Property "posts" was accessed during render but is not defined on instance.
at <Scratch onVnodeUnmounted=fn ref=Ref< undefined > >
at <Anonymous key="/scratch" routeProps= {Component: {…}, route: {…}} pageKey="/scratch" ... >
at <BaseTransition mode="out-in" appear=false persisted=false ... >
at
at
at
at
at
at <BaseTransition mode="out-in" appear=false persisted=false ... >
at
at
at
at
Note: I am using this code successfully without Vuefire, but I wanted to test out Vuefire as a possible alternative. Thank you!
Beta Was this translation helpful? Give feedback.
All reactions