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

Vuefire + Nuxt3 Layers seems broken #1570

Open
FenixTubluk opened this issue Aug 22, 2024 · 0 comments
Open

Vuefire + Nuxt3 Layers seems broken #1570

FenixTubluk opened this issue Aug 22, 2024 · 0 comments

Comments

@FenixTubluk
Copy link

FenixTubluk commented Aug 22, 2024

Reproduction

https://github.com/FenixTubluk/nuxt3-vuefire-bug

Steps to reproduce the bug

  1. git clone [email protected]:FenixTubluk/nuxt3-vuefire-bug.git
  2. cd nuxt-layer
  3. pnpm i
  4. pnpm dev
  5. stop the dev after it has compiled everything and is running
  6. cd ..
  7. cd nuxt-app
  8. cp .env.example .env
  9. fill in .env with firebase credentials
  10. pnpm i
  11. pnpm dev
  12. goto http://localhost:3000/signin
  13. push the google button

Expected behavior

A google popup should appear

Actual behavior

const auth = useFirebaseAuth() becomes null

Additional information

An additional bug maybe that we actually need to install vuefire in the child project also for it to work with shamefully-hoist set to true.

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