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

State of imported components created using setup script cannot be inspected #1940

Open
torce opened this issue Sep 14, 2022 · 8 comments
Open

Comments

@torce
Copy link

torce commented Sep 14, 2022

Version

6.2.1

Browser and OS info

Chrome version 105.0.5195.102 / Debian 10

Steps to reproduce

  • Define a component with a setup script in a library project.
  • Build the library as a package.
  • Import and use the component from an app project.
  • The component state cannot be inspected.

Full example with screenshots here:
https://github.com/torce/devtools-setup-script-bug/

What is expected?

State of imported components defined with setup script should be shown.

What is actually happening?

State cannot be inspected.


Component names cannot be inspected also, like #1938

@torgerious
Copy link

I came across same bug, hope this will be fixed.

@nandastone
Copy link

Pretty big impact on DX, would love a solution!

@blouflashdb
Copy link

We have the same problem.

@nickshontz-ych
Copy link

We're still facing the same issue, (Version 6.5.0) are there any plans to fix this?

@henryobiaraije
Copy link

Still facing the same issue too.

@oliviernguyenquoc
Copy link

Maybe similar issue than: #2061

@emahuni
Copy link

emahuni commented Apr 18, 2024

setup tag is recommended approach in Vue docs, but this is a deal breaker. I am converting all my components to setup () until this is fixed.

I also tried to expose the state I wanted shown in devtools to no avail.

@chris-oswald
Copy link

How has this been broken for two years and still not fixed?

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

9 participants