devtools icon indicating copy to clipboard operation
devtools copied to clipboard

State of imported components created using setup script cannot be inspected

Open torce opened this issue 2 years ago • 8 comments

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

torce avatar Sep 14 '22 13:09 torce

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

torgerious avatar Nov 02 '22 09:11 torgerious

Pretty big impact on DX, would love a solution!

nandastone avatar Nov 02 '22 10:11 nandastone

We have the same problem.

blouflashdb avatar Nov 07 '22 11:11 blouflashdb

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

nickshontz-ych avatar Sep 29 '23 14:09 nickshontz-ych

Still facing the same issue too.

henryobiaraije avatar Oct 01 '23 18:10 henryobiaraije

Maybe similar issue than: https://github.com/vuejs/devtools/issues/2061

oliviernguyenquoc avatar Dec 09 '23 10:12 oliviernguyenquoc

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.

emahuni avatar Apr 18 '24 06:04 emahuni