Skip to content

Vue devtools doesn't recognize camelCase component emits as declared #2060

Closed
@segevfiner

Description

@segevfiner

Vue devtools version

6.5.0

Link to minimal reproduction

https://github.com/segevfiner/vite-devtools-lib-issue

Steps to reproduce & screenshots

  1. pnpm build in packages/foo
  2. pnpm dev in apps/bar
  3. Open the browser & the Vue devtools.
  4. Check the inspector for the HelloWorld component.

What is expected?

It correctly detects the that component emit is declared.

What is actually happening?

It doesn't.

screenshot

System Info

System:
    OS: macOS 13.3.1
    CPU: (10) arm64 Apple M1 Pro
    Memory: 104.58 MB / 16.00 GB
    Shell: 5.9 - /bin/zsh
  Binaries:
    Node: 16.20.0 - ~/.nvm/versions/node/v16.20.0/bin/node
    Yarn: 1.22.19 - ~/.nvm/versions/node/v16.20.0/bin/yarn
    npm: 9.6.5 - ~/.nvm/versions/node/v16.20.0/bin/npm
  Browsers:
    Chrome: 112.0.5615.137
    Safari: 16.4

Any additional comments?

No response

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