Skip to content

Vuefire + Nuxt3 Layers seems broken #1570

Open
@FenixTubluk

Description

@FenixTubluk

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions