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

Vue when used with Vite is unable to find teleport target. #1629

Closed
wheatjs opened this issue Jul 19, 2020 · 1 comment
Closed

Vue when used with Vite is unable to find teleport target. #1629

wheatjs opened this issue Jul 19, 2020 · 1 comment

Comments

@wheatjs
Copy link

wheatjs commented Jul 19, 2020

Version

3.0.0-rc.1

Reproduction link

https://github.com/jacobclevenger/vue-teleport-bug

Steps to reproduce

  • Clone the repo
  • Install dependencies by running yarn in repo.
  • Run app by typing yarn dev
  • Open app and view console to see errors.

What is expected?

The teleport component content should show up in the teleport target.

What is actually happening?

The content does not show up and the console throws the following warnings.

[Vue warn]: Failed to locate Teleport target with selector "#endofbody".
at

[Vue warn]: Invalid Teleport target on mount: null (object)
at


When attempting to port my ui library from Vue CLI to vite, I ran into this bug. I created another repo to make sure it wasn't an issue with my code and the same bug happened.

@underfin
Copy link
Member

See #992 (comment)

@github-actions github-actions bot locked and limited conversation to collaborators Nov 9, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants