Trouble creating endpoint in Nuxt 3 server with Firebase integration #1337
Unanswered
matifanger
asked this question in
Questions and Help
Replies: 2 comments 1 reply
-
No problems creating endpoint with regular Firebase NodeJS SDK. I am not using vuefire for that. Why would someone need VueFire for that? |
Beta Was this translation helpful? Give feedback.
1 reply
-
VueFire is only available in the Vue part of a Nuxt app. Since there is no Vue available in server api routes, you should use the Firebase Admin (NodeJS) SDK. |
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
-
Hello everyone,
I'm currently facing some issues creating an endpoint in my Nuxt 3 app (/server/api). I'm not able to make VueFire work properly.
useFirebase() seems to not be available there.
Has anyone faced a similar issue? Is there anyone who has successfully integrated VueFire with Nuxt 3 and created an endpoint? I'd appreciate any help or advice on this matter.
Thank you.
Beta Was this translation helpful? Give feedback.
All reactions